Update CI to build with arduino-esp32 v3.0.1 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
arduino-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arduino/arduino-lint-action@v1 | |
with: | |
recursive: true | |
compliance: specification | |
clang-format: | |
needs: arduino-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# 各スケッチファイルの.ino、.hファイルに対してclang-formatによる整形が必要か判定する | |
# 正規表現を簡単にするためzshを使用する | |
- run: sudo apt install -y clang-format zsh | |
- run: clang-format --dry-run -Werror pico_v2_STEP*/*.(ino|h) | |
shell: zsh {0} |