Skip to content

Commit

Permalink
CI: Update linters
Browse files Browse the repository at this point in the history
  • Loading branch information
syyyr committed Nov 25, 2024
1 parent 28580f7 commit 0aa404f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/run-linter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
- uses: mjp41/workaround8649@c8550b715ccdc17f89c8d5c28d7a48eeff9c94a8
if: runner.os == 'Linux'
with:
os: ubuntu-latest
os: ubuntu-24.04

- name: Install ctcache
uses: syyyr/[email protected]
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ on:

jobs:
clang-tidy:
name: clang-tidy / Ubuntu 22.04
runs-on: ubuntu-22.04
name: clang-tidy / Ubuntu 24.04
runs-on: ubuntu-24.04
env:
CC: clang-15
CXX: clang++-15
CC: clang-18
CXX: clang++-18
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -26,14 +26,14 @@ jobs:
- name: Run clang-tidy
uses: ./.github/actions/run-linter
with:
lint_program_with_args: clang-tidy-cache clang-tidy-15 -p build --header-filter=.* --quiet --warnings-as-errors=*
lint_program_with_args: clang-tidy-cache clang-tidy-18 -p build --header-filter=.* --quiet --warnings-as-errors=*

clazy:
name: clazy / Ubuntu 22.04
runs-on: ubuntu-22.04
name: clazy / Ubuntu 24.04
runs-on: ubuntu-24.04
env:
CC: clang-15
CXX: clang++-15
CC: clang-18
CXX: clang++-18
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 0aa404f

Please sign in to comment.