Skip to content

Commit 6b3bbea

Browse files
Merge branch 'arduino-libraries:master' into downloadAndDecompress
2 parents d39cd90 + c2a9992 commit 6b3bbea

35 files changed

+710
-113
lines changed

Diff for: .github/dependabot.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
2+
version: 2
3+
4+
updates:
5+
# Configure check for outdated GitHub Actions actions in workflows.
6+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/dependabot/README.md
7+
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
8+
- package-ecosystem: github-actions
9+
directory: /.github/workflows/
10+
schedule:
11+
interval: daily
12+
labels:
13+
- "topic: infrastructure"

Diff for: .github/workflows/check-arduino.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020

2121
- name: Arduino Lint
2222
uses: arduino/arduino-lint-action@v1

Diff for: .github/workflows/compile-examples.yml

+20-3
Original file line numberDiff line numberDiff line change
@@ -40,38 +40,55 @@ jobs:
4040
board:
4141
- fqbn: arduino:samd:mkr1000
4242
type: mkr1000
43+
artifact-name-suffix: arduino-samd-mkr1000
4344
- fqbn: arduino:samd:mkrwifi1010
4445
type: nina
46+
artifact-name-suffix: arduino-samd-mkrwifi1010
4547
- fqbn: arduino:samd:nano_33_iot
4648
type: nina
49+
artifact-name-suffix: arduino-samd-nano_33_iot
4750
- fqbn: arduino:samd:mkrwan1300
4851
type: wan
52+
artifact-name-suffix: arduino-samd-mkrwan1300
4953
- fqbn: arduino:samd:mkrgsm1400
5054
type: gsm
55+
artifact-name-suffix: arduino-samd-mkrgsm1400
5156
- fqbn: arduino:samd:mkrnb1500
5257
type: nb
58+
artifact-name-suffix: arduino-samd-mkrnb1500
5359
- fqbn: arduino:mbed_portenta:envie_m7
5460
type: mbed_portenta
61+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5562
- fqbn: esp8266:esp8266:huzzah
5663
type: esp8266
64+
artifact-name-suffix: esp8266-esp8266-huzzah
5765
- fqbn: esp32:esp32:esp32
5866
type: esp32
67+
artifact-name-suffix: esp32-esp32-esp32
5968
- fqbn: arduino:mbed_nano:nanorp2040connect
6069
type: nina
70+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
6171
- fqbn: arduino:mbed_nicla:nicla_vision
6272
type: mbed_nicla
73+
artifact-name-suffix: arduino-mbed_nicla-nicla_vision
6374
- fqbn: arduino:mbed_opta:opta
6475
type: mbed_opta
76+
artifact-name-suffix: arduino-mbed_opta-opta
6577
- fqbn: arduino:mbed_giga:giga
6678
type: mbed_giga
79+
artifact-name-suffix: arduino-mbed_giga-giga
6780
- fqbn: arduino:renesas_portenta:portenta_c33
6881
type: renesas_portenta
82+
artifact-name-suffix: arduino-renesas_portenta-portenta_c33
6983
- fqbn: arduino:renesas_uno:unor4wifi
7084
type: renesas_uno
85+
artifact-name-suffix: arduino-renesas_uno-unor4wifi
7186
- fqbn: arduino:esp32:nano_nora
7287
type: arduino_esp32
88+
artifact-name-suffix: arduino-esp32-nano_nora
7389
- fqbn: arduino:mbed_edge:edge_control
7490
type: mbed_edge
91+
artifact-name-suffix: arduino-mbed_edge-edge_control
7592

7693

7794
# make board type-specific customizations to the matrix jobs
@@ -245,7 +262,7 @@ jobs:
245262
246263
steps:
247264
- name: Checkout
248-
uses: actions/checkout@v2
265+
uses: actions/checkout@v4
249266

250267
- name: Install ESP32 platform dependencies
251268
if: matrix.board.type == 'esp32'
@@ -277,7 +294,7 @@ jobs:
277294

278295
- name: Save memory usage change report as artifact
279296
if: github.event_name == 'pull_request'
280-
uses: actions/upload-artifact@v2
297+
uses: actions/upload-artifact@v4
281298
with:
282-
name: ${{ env.SKETCHES_REPORTS_PATH }}
299+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
283300
path: ${{ env.SKETCHES_REPORTS_PATH }}

Diff for: .github/workflows/spell-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

1515
- name: Spell check
1616
uses: codespell-project/actions-codespell@master

Diff for: .github/workflows/sync-labels.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131

3232
- name: Download JSON schema for labels configuration file
3333
id: download-schema
@@ -70,7 +70,7 @@ jobs:
7070
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}
7171

7272
- name: Pass configuration files to next job via workflow artifact
73-
uses: actions/upload-artifact@v2
73+
uses: actions/upload-artifact@v4
7474
with:
7575
path: |
7676
*.yaml
@@ -105,16 +105,16 @@ jobs:
105105
echo "::set-output name=flag::--dry-run"
106106
107107
- name: Checkout repository
108-
uses: actions/checkout@v2
108+
uses: actions/checkout@v4
109109

110110
- name: Download configuration files artifact
111-
uses: actions/download-artifact@v2
111+
uses: actions/download-artifact@v4
112112
with:
113113
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
114114
path: ${{ env.CONFIGURATIONS_FOLDER }}
115115

116116
- name: Remove unneeded artifact
117-
uses: geekyeggo/delete-artifact@v1
117+
uses: geekyeggo/delete-artifact@v4
118118
with:
119119
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
120120

Diff for: .github/workflows/unit-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727

2828
- uses: arduino/cpp-test-action@main
2929
with:

0 commit comments

Comments
 (0)