Skip to content

Commit

Permalink
Update .github/workflows/cmake-and-clang-format.yaml; move to most re…
Browse files Browse the repository at this point in the history
…cent versions of everything.
  • Loading branch information
puneetmatharu committed Nov 20, 2023
1 parent 2501359 commit 867de29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake-and-clang-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Format all files in the src/ directory except cfortran.h, lapack_qz.h,
# superlu.c, superlu_dist.c, which sit in the src/generic/ subdirectory.
- name: Format oomph-lib sources
uses: puneetmatharu/clang-format-lint-action@v0.13
uses: puneetmatharu/clang-format-lint-action@v0.17
with:
files: ^(src)\/(?!.*(cfortran|lapack_qz))(.+)\.(h|hpp|cc|cpp|tpp)$
clangFormatVersion: 12
clangFormatVersion: 16.0.3
style: file
inplace: True

- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: clang-format-bot
commit_message: "Automated commit of clang-format CI changes."
Expand All @@ -42,7 +42,7 @@ jobs:
args: --config-files .cmake-format.py --in-place

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: cmake-format-bot
commit_message: "Automated commit of cmake-format CI changes."

0 comments on commit 867de29

Please sign in to comment.