Skip to content

Commit

Permalink
Switch to PIO checks for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierBrassoud committed Mar 7, 2024
1 parent f278625 commit d1240c6
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,26 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1

# - name: arduino-lint
# uses: arduino/arduino-lint-action@v1
# with:
# library-manager: update
# compliance: strict

- uses: cpp-linter/cpp-linter-action@v2
- name: Cache pio and pip
uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio

- uses: actions/setup-python@v4
with:
style: 'file' # Use .clang-format config file
tidy-checks: '' # Use .clang-tidy config file
tidy-review: true # Enable clang suggestions in PRs
files-changed-only: false
version: 19
ignore: extras
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
python-version: '3.9'

- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: PIO Lint
run: pio check --fail-on-defect=high --fail-on-defect=medium

0 comments on commit d1240c6

Please sign in to comment.