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 4
4
pull_request :
5
5
paths :
6
6
- " .github/workflows/compile-examples.yml"
7
+ - " library.properties"
7
8
- " examples/**"
8
9
- " src/**"
9
10
push :
10
11
paths :
11
12
- " .github/workflows/compile-examples.yml"
13
+ - " library.properties"
12
14
- " examples/**"
13
15
- " src/**"
14
16
# Scheduled trigger checks for breakage caused by changes to external resources (libraries, platforms)
22
24
23
25
jobs :
24
26
build :
27
+ name : ${{ matrix.board.fqbn }}
25
28
runs-on : ubuntu-latest
26
29
27
30
env :
34
37
board :
35
38
- fqbn : arduino:samd:mkrwifi1010
36
39
- fqbn : arduino:samd:mkrvidor4000
40
+ - fqbn : arduino:samd:nano_33_iot
37
41
- fqbn : arduino:megaavr:uno2018:mode=on
38
42
- fqbn : arduino:mbed_nano:nanorp2040connect
39
43
42
46
uses : actions/checkout@v2
43
47
44
48
- name : Compile examples
45
- uses : arduino/compile-sketches@main
49
+ uses : arduino/compile-sketches@v1
46
50
with :
47
51
github-token : ${{ secrets.GITHUB_TOKEN }}
48
52
fqbn : ${{ matrix.board.fqbn }}
59
63
- name : Save memory usage change report as artifact
60
64
uses : actions/upload-artifact@v2
61
65
with :
66
+ if-no-files-found : error
62
67
name : ${{ env.SKETCHES_REPORTS_PATH }}
63
68
path : ${{ env.SKETCHES_REPORTS_PATH }}
Original file line number Diff line number Diff line change 1
1
name : Report Size Deltas
2
2
3
3
on :
4
+ push :
5
+ paths :
6
+ - " .github/workflows/report-size-deltas.yml"
4
7
schedule :
5
8
- cron : ' */5 * * * *'
6
9
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_dispatch
15
18
steps :
16
19
# See: https://github.com/arduino/actions/blob/master/libraries/report-size-deltas/README.md
17
20
- name : Comment size deltas reports to PRs
18
- uses : arduino/report-size-deltas@main
21
+ uses : arduino/report-size-deltas@v1
19
22
with :
20
23
# The name of the workflow artifact created by the "Compile Examples" workflow
21
24
sketches-reports-source : sketches-reports
Original file line number Diff line number Diff line change 4
4
5
5
= {repository-name} library for Arduino =
6
6
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"]
9
10
10
11
Enables network connection (local and Internet) with the Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000 and Arduino UNO WiFi Rev.2.
11
12
You can’t perform that action at this time.
0 commit comments