chore(ci): stricter lint options, check for symlinks (#20) #10
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: Checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Arduino Lint checks | |
uses: arduino/arduino-lint-action@v1 | |
with: | |
compliance: strict | |
library-manager: update | |
project-type: library | |
- name: Check for symlinks | |
run: find * -type l -printf "::error::%p is a symlink. This is forbidden by the Arduino Library Specification." -exec false {} + |