From 747b1e7d4c84cd277181eaac4c6bd0e6b6243913 Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 3 May 2022 00:04:10 +0100 Subject: [PATCH] Add GitHub action for linting Create main.yml with Ardunio Linter. https://github.com/arduino/arduino-lint-action#usage --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..754214b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,10 @@ +on: [push, pull_request] +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: arduino/arduino-lint-action@v1 + with: + library-manager: update + compliance: strict