Inv vref heatmap #793
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: clang-format | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: write | |
| jobs: | |
| clang-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: checkout branch and not merge ref | |
| run: git switch ${GITHUB_HEAD_REF} | |
| - name: get just | |
| uses: extractions/setup-just@v3 | |
| - name: get denv | |
| run: | | |
| curl -s https://tomeichlersmith.github.io/denv/install | sh | |
| denv check | |
| - name: format C++ code and commit updates | |
| run: | | |
| just init zcu | |
| just format-cpp | |
| git config user.name 'github-actions[bot]' | |
| git config user.email 'github-actions[bot]@users.noreply.github.com' | |
| git add . | |
| git commit -m "Apply clang-format --style=Google" || exit 0 | |
| git push | |