Fixed due to esp32 package 3.0.1 update (#20) #134
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@v3 | |
- uses: arduino/arduino-lint-action@v1 | |
with: | |
recursive: true | |
compliance: specification | |
clang-format: | |
needs: arduino-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# 各スケッチファイルの.ino、.hファイルに対してclang-formatによる整形が必要か判定する | |
# 正規表現を簡単にするためzshを使用する | |
- run: sudo apt install -y clang-format zsh | |
- run: clang-format --dry-run -Werror uROS_STEP*/*.(ino|h) | |
shell: zsh {0} |