diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 18b297a..bd1dfd9 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -9,11 +9,11 @@ jobs: contents: write container: ghcr.io/hyperk/clang_format:latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: make_safe run: git config --global --add safe.directory '*' - name: format - run: git clone https://github.com/hyperk/hk-ClangFormat.git && cd hk-ClangFormat && ./run.sh && cd .. && rm -rf hk-ClangFormat && git restore OriginalWCSim/cmake/ OriginalWCSim/include/WCSimDetectorConstruction.hh OriginalWCSim/include/WCSimPMTObject.hh OriginalWCSim/src/WCSimPMTObject.cc OriginalWCSim/src/TJNuBeamFlux.cc OriginalWCSim/src/WCSimRootEvent.cc OriginalWCSim/src/WCSimRootGeom.cc + run: git clone https://github.com/hyperk/hk-ClangFormat.git && cd hk-ClangFormat && ./run.sh && cd .. && rm -rf hk-ClangFormat - uses: EndBug/add-and-commit@v9 with: author_name: Clang Robot