Skip to content

Commit e1ce828

Browse files
committed
use compile-sketches ga
1 parent 1b9cff9 commit e1ce828

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/check-sketches-deps.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,8 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515

16-
- name: Install the latest version of Arduino CLI
17-
run: |
18-
mkdir -p ${{ env.ARDUINO_CLI_PATH }}
19-
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=${{ env.ARDUINO_CLI_PATH }} sh
20-
21-
- name: Update Arduino cores and libraries and install Zephyr core
22-
run: |
23-
export PATH="${{ env.ARDUINO_CLI_PATH }}:$PATH"
24-
arduino-cli update
25-
arduino-cli core install arduino:zephyr
26-
2716
- name: Verify sketches
28-
run: |
29-
export PATH="${{ env.ARDUINO_CLI_PATH }}:$PATH"
30-
SKETCHES=$(find . -name "*.ino")
31-
for SKETCH in $SKETCHES; do
32-
echo "Verifying $SKETCH"
33-
arduino-cli compile --fqbn arduino:zephyr:unoq "$SKETCH"
34-
done
17+
uses: arduino/compile-sketches@v1
18+
with:
19+
fqbn: "arduino:zephyr:unoq"
20+
sketch-paths: "./examples"

0 commit comments

Comments
 (0)