Skip to content

Commit ba0f381

Browse files
authored
Merge pull request #169 from per1234/update-ci
Update GitHub Actions workflows and action versions
2 parents 4c149a2 + 489830a commit ba0f381

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed
+19-19
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
name: Compile Examples
2-
on: [push, pull_request]
2+
on:
3+
- push
4+
- pull_request
5+
36
jobs:
4-
build:
5-
runs-on: ubuntu-latest
7+
build:
8+
runs-on: ubuntu-latest
69

7-
strategy:
8-
matrix:
9-
fqbn: [
10-
"arduino:samd:mkrwifi1010",
11-
"arduino:samd:nano_33_iot",
12-
"arduino:megaavr:uno2018:mode=on",
13-
"arduino:mbed:nano33ble"
14-
]
10+
strategy:
11+
matrix:
12+
fqbn:
13+
- arduino:samd:mkrwifi1010
14+
- arduino:samd:nano_33_iot
15+
- arduino:megaavr:uno2018:mode=on
16+
- arduino:mbed:nano33ble
1517

16-
steps:
17-
- uses: actions/checkout@v1
18-
with:
19-
fetch-depth: 1
20-
- uses: arduino/actions/libraries/compile-examples@master
21-
with:
22-
github-token: ${{ secrets.GITHUB_TOKEN }}
23-
fqbn: ${{ matrix.fqbn }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: arduino/compile-sketches@v1
21+
with:
22+
github-token: ${{ secrets.GITHUB_TOKEN }}
23+
fqbn: ${{ matrix.fqbn }}

0 commit comments

Comments
 (0)