Check Arduino #228
This file contains hidden or 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: Check Arduino | |
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows | |
on: | |
push: | |
pull_request: | |
schedule: | |
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint. | |
- cron: "0 8 * * TUE" | |
workflow_dispatch: | |
repository_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Arduino Lint | |
uses: arduino/arduino-lint-action@v2 | |
with: | |
compliance: strict | |
library-manager: submit # remember to change to 'update' after the library is published on the libraries index | |
# Always use this setting for official repositories. Remove for 3rd party projects. | |
official: true |