File tree Expand file tree Collapse file tree 5 files changed +51
-4
lines changed
Expand file tree Collapse file tree 5 files changed +51
-4
lines changed Original file line number Diff line number Diff line change 1+ # See: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#about-the-dependabotyml-file
2+ version : 2
3+
4+ updates :
5+ # Configure check for outdated GitHub Actions actions in workflows.
6+ # See: https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-dependabot
7+ - package-ecosystem : github-actions
8+ directory : / # Check the repository's workflows under /.github/workflows/
9+ schedule :
10+ interval : daily
Original file line number Diff line number Diff line change 1+ name : Check Arduino
2+
3+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+ on :
5+ push :
6+ pull_request :
7+ schedule :
8+ # Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint.
9+ - cron : " 0 8 * * TUE"
10+ workflow_dispatch :
11+ repository_dispatch :
12+
13+ jobs :
14+ lint :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@v2
20+
21+ - name : Arduino Lint
22+ uses : arduino/arduino-lint-action@v1
23+ with :
24+ compliance : specification
25+ library-manager : update
26+ # Always use this setting for official repositories. Remove for 3rd party projects.
27+ official : true
28+ project-type : library
Original file line number Diff line number Diff line change 44 pull_request :
55 paths :
66 - " .github/workflows/compile-examples.yml"
7+ - " library.properties"
78 - " examples/**"
89 - " src/**"
910 push :
1011 paths :
1112 - " .github/workflows/compile-examples.yml"
13+ - " library.properties"
1214 - " examples/**"
1315 - " src/**"
1416 # Scheduled trigger checks for breakage caused by changes to external resources (libraries, platforms)
2224
2325jobs :
2426 build :
27+ name : ${{ matrix.board.fqbn }}
2528 runs-on : ubuntu-latest
2629
2730 env :
3437 board :
3538 - fqbn : arduino:samd:mkrwifi1010
3639 - fqbn : arduino:samd:mkrvidor4000
40+ - fqbn : arduino:samd:nano_33_iot
3741 - fqbn : arduino:megaavr:uno2018:mode=on
3842 - fqbn : arduino:mbed_nano:nanorp2040connect
3943
4246 uses : actions/checkout@v2
4347
4448 - name : Compile examples
45- uses : arduino/compile-sketches@main
49+ uses : arduino/compile-sketches@v1
4650 with :
4751 github-token : ${{ secrets.GITHUB_TOKEN }}
4852 fqbn : ${{ matrix.board.fqbn }}
5963 - name : Save memory usage change report as artifact
6064 uses : actions/upload-artifact@v2
6165 with :
66+ if-no-files-found : error
6267 name : ${{ env.SKETCHES_REPORTS_PATH }}
6368 path : ${{ env.SKETCHES_REPORTS_PATH }}
Original file line number Diff line number Diff line change 11name : Report Size Deltas
22
33on :
4+ push :
5+ paths :
6+ - " .github/workflows/report-size-deltas.yml"
47 schedule :
58 - cron : ' */5 * * * *'
69 # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_dispatch
1518 steps :
1619 # See: https://github.com/arduino/actions/blob/master/libraries/report-size-deltas/README.md
1720 - name : Comment size deltas reports to PRs
18- uses : arduino/report-size-deltas@main
21+ uses : arduino/report-size-deltas@v1
1922 with :
2023 # The name of the workflow artifact created by the "Compile Examples" workflow
2124 sketches-reports-source : sketches-reports
Original file line number Diff line number Diff line change 44
55= {repository-name} library for Arduino =
66
7- image:https://github.com/{repository-owner}/{repository-name}/workflows/Compile%20Examples/badge.svg["Compile Examples Status", link="https://github.com/{repository-owner}/{repository-name}/actions?workflow=Compile+Examples"]
8- image:https://github.com/{repository-owner}/{repository-name}/workflows/Spell%20Check/badge.svg["Spell Check Status", link="https://github.com/{repository-owner}/{repository-name}/actions?workflow=Spell+Check"]
7+ image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/check-arduino.yml/badge.svg["Check Arduino status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/check-arduino.yml"]
8+ image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/compile-examples.yml/badge.svg["Compile Examples status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/compile-examples.yml"]
9+ image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/spell-check.yml/badge.svg["Spell Check status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/spell-check.yml"]
910
1011Enables network connection (local and Internet) with the Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000 and Arduino UNO WiFi Rev.2.
1112
You can’t perform that action at this time.
0 commit comments