Skip to content

Commit

Permalink
infra: update workflows (#70)
Browse files Browse the repository at this point in the history
* Update workflows

* Clang format 18

* Fix apt package
  • Loading branch information
IsaacMarovitz authored Sep 25, 2024
1 parent 4cf808f commit 6019477
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run clang-format
uses: jidicula/clang-format-action@v4.11.0
uses: jidicula/clang-format-action@v4.13.0
with:
exclude-regex: (libspirv|3rdparty)
clang-format-version: 16
clang-format-version: 18
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Run clang-tidy
uses: ZedThree/clang-tidy-review@v0.14.0
uses: ZedThree/clang-tidy-review@v0.19.0
id: review
with:
clang_tidy_version: 16
apt_packages: libunwind-dev, libglfw3-dev, libvulkan-dev, vulkan-validationlayers-dev, spirv-tools, glslang-tools, libspirv-cross-c-shared-dev
clang_tidy_version: 18
apt_packages: libunwind-dev, libglfw3-dev, libvulkan-dev, vulkan-validationlayers, spirv-tools, glslang-tools, libspirv-cross-c-shared-dev
cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=on
split_workflow: true
- name: Upload review
uses: ZedThree/clang-tidy-review/upload@v0.14.0
uses: ZedThree/clang-tidy-review/upload@v0.19.0
id: upload-review
4 changes: 2 additions & 2 deletions .github/workflows/rpcsx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -42,7 +42,7 @@ jobs:
cmake --build build -j4
- name: Upload RPCSX
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rpcsx-bin
path: build/bin/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tidy-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ZedThree/clang-tidy-review/post@v0.12.0
- uses: ZedThree/clang-tidy-review/post@v0.19.0
with:
lgtm_comment_body: "No linting issues found!"

0 comments on commit 6019477

Please sign in to comment.