From a7f15af97809fc324fa3a3503ea5244e9a9fb4ba Mon Sep 17 00:00:00 2001 From: Jorge Rivera Date: Sun, 17 Nov 2024 20:52:21 +0100 Subject: [PATCH] Add Arduino Lint Github Action --- .github/workflows/ArduinoLint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ArduinoLint.yml diff --git a/.github/workflows/ArduinoLint.yml b/.github/workflows/ArduinoLint.yml new file mode 100644 index 0000000..a9efc84 --- /dev/null +++ b/.github/workflows/ArduinoLint.yml @@ -0,0 +1,25 @@ +name: Check Arduino + +# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows +on: + push: + pull_request: + schedule: + - cron: '0 0 1 * *' + workflow_dispatch: + repository_dispatch: + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Arduino Lint + uses: arduino/arduino-lint-action@v2 + with: + compliance: strict + library-manager: update + project-type: library