Skip to content

Commit

Permalink
hardcode clang-format runner to Ubuntu24.04 (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 authored Oct 17, 2024
1 parent 65f6927 commit d80efd4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ jobs:
check_format:
name: Check codebase format with clang-format
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run clang-format dry-run
run: find include/ src/ tests/ examples/ -iname "*.ino" -o -iname "*.h" -o -iname "*.c" | xargs clang-format -n -Werror
run: |
clang-format --version
find include/ src/ tests/ examples/ -iname "*.ino" -o -iname "*.h" -o -iname "*.c" | xargs clang-format -n -Werror
c99_build:
name: Check c99 compilation
Expand Down

0 comments on commit d80efd4

Please sign in to comment.