From 48c5d4d3d1ef19a7f5a1b3ecdf6926a8dc8a7b12 Mon Sep 17 00:00:00 2001 From: Ioulianos Kakoulidis Date: Thu, 19 Aug 2021 10:22:27 +0300 Subject: [PATCH 1/3] arduino-lint-action --- .github/workflows/arduino-lint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/arduino-lint.yml diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml new file mode 100644 index 0000000..3834289 --- /dev/null +++ b/.github/workflows/arduino-lint.yml @@ -0,0 +1,25 @@ +- name: arduino/arduino-lint-action + # You may pin to the exact commit or the version. + # uses: arduino/arduino-lint-action@34273a972ebf4575065aaede94a51632888d7452 + uses: arduino/arduino-lint-action@v1.0.0 + with: + # Path containing Arduino projects. + path: # optional + # Version of the Arduino Lint tool to use. + version: # optional, default is 1.x + # How strict the checks are. + compliance: # optional, default is specification + # Configuration of the checks for libraries in the Arduino Library Manager index. + library-manager: # optional + # The type of project to check. + project-type: # optional, default is all + # Search path recursively for projects to check. + recursive: # optional, default is false + # Save a JSON formatted report on the checks to this file. + report-file: # optional + # Show more information on the checks being run. + verbose: # optional, default is false + # Run the checks that only apply to official Arduino projects. + official: # optional, default is false + # GitHub access token used to get information from the GitHub API. + token: # optional, default is ${{ github.token }} From deff4a83b1afe6a5f95115c543976d7f4c0dac92 Mon Sep 17 00:00:00 2001 From: Ioulianos Kakoulidis Date: Thu, 19 Aug 2021 10:37:27 +0300 Subject: [PATCH 2/3] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 33 ++++++++---------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index 3834289..b155c7c 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -1,25 +1,8 @@ -- name: arduino/arduino-lint-action - # You may pin to the exact commit or the version. - # uses: arduino/arduino-lint-action@34273a972ebf4575065aaede94a51632888d7452 - uses: arduino/arduino-lint-action@v1.0.0 - with: - # Path containing Arduino projects. - path: # optional - # Version of the Arduino Lint tool to use. - version: # optional, default is 1.x - # How strict the checks are. - compliance: # optional, default is specification - # Configuration of the checks for libraries in the Arduino Library Manager index. - library-manager: # optional - # The type of project to check. - project-type: # optional, default is all - # Search path recursively for projects to check. - recursive: # optional, default is false - # Save a JSON formatted report on the checks to this file. - report-file: # optional - # Show more information on the checks being run. - verbose: # optional, default is false - # Run the checks that only apply to official Arduino projects. - official: # optional, default is false - # GitHub access token used to get information from the GitHub API. - token: # optional, default is ${{ github.token }} +name: Aarduino-lint +on: [push, pull_request] +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: arduino/arduino-lint-action@v1 From 0207191aa7d7093854ac9b9744b201767c11a918 Mon Sep 17 00:00:00 2001 From: Ioulianos Kakoulidis Date: Thu, 19 Aug 2021 10:41:36 +0300 Subject: [PATCH 3/3] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index b155c7c..4201286 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -6,3 +6,5 @@ jobs: steps: - uses: actions/checkout@v2 - uses: arduino/arduino-lint-action@v1 + with: + library-manager: update