diff --git a/.github/workflows/BuildLibrary.yml b/.github/workflows/BuildLibrary.yml index 66556c7..b14c76a 100644 --- a/.github/workflows/BuildLibrary.yml +++ b/.github/workflows/BuildLibrary.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml new file mode 100644 index 0000000..c9c35fd --- /dev/null +++ b/.github/workflows/arduino-lint.yml @@ -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 \ No newline at end of file