@@ -14,12 +14,12 @@ jobs:
14
14
15
15
steps :
16
16
- name : Checkout code
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
19
19
# TODO: This is a 3rd party GitHub action from some dude. Ideally, we'd
20
20
# use something more "official".
21
21
- name : Check if Dockerfile changed
22
- uses : dorny/paths-filter@v2
22
+ uses : dorny/paths-filter@v3
23
23
id : filter
24
24
with :
25
25
base : ' master'
@@ -34,28 +34,28 @@ jobs:
34
34
35
35
steps :
36
36
- name : Checkout code
37
- uses : actions/checkout@v3
37
+ uses : actions/checkout@v4
38
38
39
39
- name : Login to GitHub Container Registry
40
- uses : docker/login-action@v2
40
+ uses : docker/login-action@v3
41
41
with :
42
42
registry : ghcr.io
43
43
username : ${{ github.actor }}
44
44
password : ${{ secrets.GITHUB_TOKEN }}
45
45
46
46
- name : Set up Docker Buildx
47
- uses : docker/setup-buildx-action@v2
47
+ uses : docker/setup-buildx-action@v3
48
48
49
49
- name : Rebuild image
50
- uses : docker/build-push-action@v4
50
+ uses : docker/build-push-action@v6
51
51
with :
52
52
context : .
53
53
load : true
54
54
tags : ghcr.io/blues/note_arduino_ci:latest
55
55
outputs : type=docker,dest=/tmp/note_arduino_ci_image.tar
56
56
57
57
- name : Upload image artifact
58
- uses : actions/upload-artifact@v3
58
+ uses : actions/upload-artifact@v4
59
59
with :
60
60
name : note_arduino_ci_image
61
61
path : /tmp/note_arduino_ci_image.tar
67
67
68
68
steps :
69
69
- name : Checkout code
70
- uses : actions/checkout@v3
70
+ uses : actions/checkout@v4
71
71
72
72
- name : Load CI Docker image
73
+ # Only load the Docker image artifact if build_ci_docker_image actually
74
+ # ran (e.g. it wasn't skipped and was successful).
73
75
if : ${{ needs.build_ci_docker_image.result == 'success' }}
74
76
uses : ./.github/actions/load-ci-image
75
77
@@ -113,18 +115,21 @@ jobs:
113
115
- adafruit:samd:adafruit_feather_m4
114
116
# The binary examples don't fit in the Uno's flash.
115
117
# - arduino:avr:uno
116
- - arduino:mbed_nano:nano33ble
118
+ # The mbed_nano platform generates compiler warning.
119
+ # https://github.com/arduino/ArduinoCore-mbed/issues/1024
120
+ # - arduino:mbed_nano:nano33ble
117
121
- esp32:esp32:featheresp32
118
122
- rp2040:rp2040:rpipico
119
123
- SparkFun:apollo3:sfe_artemis_thing_plus
120
- - STMicroelectronics:stm32:BluesW:pnum=SWAN_R5
124
+ - STMicroelectronics:stm32:Blues:pnum=CYGNET
125
+ - STMicroelectronics:stm32:Blues:pnum=SWAN_R5
121
126
- STMicroelectronics:stm32:GenF4:pnum=FEATHER_F405
122
127
- STMicroelectronics:stm32:Nucleo_32:pnum=NUCLEO_L432KC
123
128
124
129
steps :
125
130
- name : Checkout code
126
131
id : checkout
127
- uses : actions/checkout@v3
132
+ uses : actions/checkout@v4
128
133
129
134
- name : Load CI docker image
130
135
if : ${{ needs.build_ci_docker_image.result == 'success' }}
@@ -148,17 +153,17 @@ jobs:
148
153
149
154
steps :
150
155
- name : Login to GitHub Container Registry
151
- uses : docker/login-action@v2
156
+ uses : docker/login-action@v3
152
157
with :
153
158
registry : ghcr.io
154
159
username : ${{ github.actor }}
155
160
password : ${{ secrets.GITHUB_TOKEN }}
156
161
157
162
- name : Set up Docker Buildx
158
- uses : docker/setup-buildx-action@v2
163
+ uses : docker/setup-buildx-action@v3
159
164
160
165
- name : Push image to registry
161
- uses : docker/build-push-action@v4
166
+ uses : docker/build-push-action@v6
162
167
with :
163
168
push : true
164
169
tags : ghcr.io/blues/note_arduino_ci:latest
0 commit comments