Skip to content

Commit

Permalink
Update clang-format.yml
Browse files Browse the repository at this point in the history
- Update checkout version
- Remove old OriginalWCSim paths that we're not using
  • Loading branch information
tdealtry authored May 8, 2024
1 parent fa25c76 commit f36eda2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f36eda2

Please sign in to comment.