aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check-arduino.yml
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2022-02-22 02:11:13 -0500
committerDavid Madison <dmadison@users.noreply.github.com>2022-02-22 02:11:13 -0500
commit65f1968b755855315b931b4b8fa45747576d6536 (patch)
tree77f4cf88950d90182f57c73f69027b4d39375d64 /.github/workflows/check-arduino.yml
parentf47a97522dc28c16c432422e3085035de69cfaf6 (diff)
parenta1c76c0651192587f495d88b419553edd12a4881 (diff)
Merge tag '1.8.4' into upstream-1.8.4
Diffstat (limited to '.github/workflows/check-arduino.yml')
-rw-r--r--.github/workflows/check-arduino.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/check-arduino.yml b/.github/workflows/check-arduino.yml
new file mode 100644
index 0000000..cfffb75
--- /dev/null
+++ b/.github/workflows/check-arduino.yml
@@ -0,0 +1,27 @@
+name: Check Arduino
+
+# See: https://docs.github.com/en/free-pro-team@latest/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
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2
+
+ - name: Arduino Lint
+ uses: arduino/arduino-lint-action@v1
+ with:
+ compliance: specification
+ # Always use this setting for official repositories. Remove for 3rd party projects.
+ official: true
+ project-type: platform