Skip to content

Commit fd2eff8

Browse files
committed
Use consistent formatting style in CI workflows
The previous inconsistent markup style, although perfectly valid, made the workflow harder to understand.
1 parent b531a03 commit fd2eff8

File tree

2 files changed

+36
-24
lines changed

2 files changed

+36
-24
lines changed

.github/workflows/compile-examples.yml

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,35 @@ jobs:
3737
fail-fast: false
3838

3939
matrix:
40-
board: [
41-
{"fqbn": "arduino:samd:mkr1000", "type": "mkr1000"},
42-
{"fqbn": "arduino:samd:mkrwifi1010", "type": "nina"},
43-
{"fqbn": "arduino:samd:nano_33_iot", "type": "nina"},
44-
{"fqbn": "arduino:megaavr:uno2018", "type": "megaavr"},
45-
{"fqbn": "arduino:samd:mkrwan1300", "type": "wan"},
46-
{"fqbn": "arduino:samd:mkrgsm1400", "type": "gsm"},
47-
{"fqbn": "arduino:samd:mkrnb1500", "type": "nb"},
48-
{"fqbn": "arduino:mbed:envie_m4", "type": "mbed"},
49-
{"fqbn": "arduino:mbed:envie_m7", "type": "mbed"},
50-
{"fqbn": "esp8266:esp8266:huzzah", "type": "esp8266"},
51-
{"fqbn": "esp32:esp32:esp32", "type": "esp32"}
52-
]
40+
board:
41+
- fqbn: arduino:samd:mkr1000
42+
type: mkr1000
43+
- fqbn: arduino:samd:mkrwifi1010
44+
type: nina
45+
- fqbn: arduino:samd:nano_33_iot
46+
type: nina
47+
- fqbn: arduino:megaavr:uno2018
48+
type: megaavr
49+
- fqbn: arduino:samd:mkrwan1300
50+
type: wan
51+
- fqbn: arduino:samd:mkrgsm1400
52+
type: gsm
53+
- fqbn: arduino:samd:mkrnb1500
54+
type: nb
55+
- fqbn: arduino:mbed:envie_m4
56+
type: mbed
57+
- fqbn: arduino:mbed:envie_m7
58+
type: mbed
59+
- fqbn: esp8266:esp8266:huzzah
60+
type: esp8266
61+
- fqbn: esp32:esp32:esp32
62+
type: esp32
5363

5464
# make board type-specific customizations to the matrix jobs
5565
include:
5666
# MKR 1000
5767
- board:
58-
type: "mkr1000"
68+
type: mkr1000
5969
platforms: |
6070
# Install Arduino SAMD Boards via Boards Manager for the toolchain
6171
- name: arduino:samd
@@ -68,7 +78,7 @@ jobs:
6878
- examples/utility/Provisioning
6979
# MKR WiFi 1010, Nano 33 IoT
7080
- board:
71-
type: "nina"
81+
type: nina
7282
platforms: |
7383
# Install Arduino SAMD Boards via Boards Manager for the toolchain
7484
- name: arduino:samd
@@ -84,7 +94,7 @@ jobs:
8494
- examples/utility/SelfProvisioning
8595
# Uno WiFi Rev2
8696
- board:
87-
type: "megaavr"
97+
type: megaavr
8898
platforms: |
8999
- name: arduino:megaavr
90100
libraries: |
@@ -98,7 +108,7 @@ jobs:
98108
- examples/utility/SelfProvisioning
99109
# LoRaWAN boards
100110
- board:
101-
type: "wan"
111+
type: wan
102112
platforms: |
103113
- name: arduino:samd
104114
libraries: |
@@ -108,7 +118,7 @@ jobs:
108118
sketch-paths:
109119
# GSM boards
110120
- board:
111-
type: "gsm"
121+
type: gsm
112122
platforms: |
113123
- name: arduino:samd
114124
libraries: |
@@ -120,7 +130,7 @@ jobs:
120130
- examples/utility/Provisioning
121131
# NB boards
122132
- board:
123-
type: "nb"
133+
type: nb
124134
platforms: |
125135
- name: arduino:samd
126136
libraries: |
@@ -132,7 +142,7 @@ jobs:
132142
- examples/utility/Provisioning
133143
# Portenta
134144
- board:
135-
type: "mbed"
145+
type: mbed
136146
platforms: |
137147
# Install Arduino mbed-Enabled Boards via Boards Manager for the toolchain
138148
- name: arduino:mbed
@@ -146,7 +156,7 @@ jobs:
146156
- examples/utility/Provisioning
147157
# ESP8266 boards
148158
- board:
149-
type: "esp8266"
159+
type: esp8266
150160
platforms: |
151161
# Install ESP8266 platform via Boards Manager
152162
- name: esp8266:esp8266
@@ -156,7 +166,7 @@ jobs:
156166
sketch-paths:
157167
# ESP32 boards
158168
- board:
159-
type: "esp32"
169+
type: esp32
160170
platforms: |
161171
# Install ESP32 platform via Boards Manager
162172
- name: esp32:esp32
@@ -209,7 +219,7 @@ jobs:
209219
sketch-paths: |
210220
${{ env.UNIVERSAL_SKETCH_PATHS }}
211221
${{ matrix.sketch-paths }}
212-
enable-deltas-report: 'true'
222+
enable-deltas-report: "true"
213223
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
214224

215225
- name: Write data to size trends report spreadsheet

.github/workflows/spell-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Spell Check
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
build:

0 commit comments

Comments
 (0)