Skip to content

Commit

Permalink
Merge pull request #20 from ElectronicCats/arduino-lint-action
Browse files Browse the repository at this point in the history
Add arduino test compile
  • Loading branch information
sabas1080 authored Jan 31, 2021
2 parents cc83d32 + 69bd496 commit dea4a95
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/BuildLibrary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80
platform-url: https://dl.espressif.com/dl/package_esp32_index.json
examples-exclude: Basic_LoRaWAN_Beelan
sketches-exclude: Basic_LoRaWAN_Beelan

# Do not cancel all jobs / architectures if one job fails
fail-fast: false
Expand All @@ -69,9 +69,9 @@ jobs:
uses: actions/checkout@master

- name: Compile all examples
uses: ArminJo/arduino-test-compile@master
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-url: ${{ matrix.platform-url }}
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
examples-exclude: ${{ matrix.examples-exclude }}
sketches-exclude: ${{ matrix.sketches-exclude }}
18 changes: 18 additions & 0 deletions .github/workflows/arduino-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: arduino-lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: arduino/arduino-lint-action@v1
with:
# path: ./
version: 1.x
compliance: strict
library-manager: update
project-type: library
recursive: true
# report-file:
verbose: false
token: GITHUB_TOKEN

0 comments on commit dea4a95

Please sign in to comment.