Skip to content

Commit

Permalink
Merge pull request #1358 from keyboardio/f/clang-format-16
Browse files Browse the repository at this point in the history
Update to a supported clang-format and checkout action
  • Loading branch information
obra authored Nov 14, 2023
2 parents b01982f + 8020840 commit 619c4d2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on: [push, pull_request]
env:
LC_ALL: C
ARDUINO_DIRECTORIES_USER: ${{ github.workspace }}/.arduino/user
CLANG_FORMAT_CMD: clang-format-12
CLANG_FORMAT_CMD: clang-format-15
jobs:
smoke-sketches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache arduino dep downloads
uses: actions/cache@v2
with:
Expand All @@ -21,7 +21,7 @@ jobs:
run-google-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache arduino dep downloads
uses: actions/cache@v2
with:
Expand All @@ -35,28 +35,28 @@ jobs:
check-code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: KALEIDOSCOPE_CODE_FORMATTER=clang-format-12 make check-code-style
- uses: actions/checkout@v4
- run: KALEIDOSCOPE_CODE_FORMATTER=clang-format-15 make check-code-style
check-shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: make shellcheck
check-cpplint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: make cpplint
find-filename-conflicts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: make find-filename-conflicts
publish-arduino-package-on-every-commit:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_DEPLOY }}
Expand Down

0 comments on commit 619c4d2

Please sign in to comment.