We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b542ab9 commit e4605ffCopy full SHA for e4605ff
.github/workflows/check-sketches-deps.yml
@@ -8,11 +8,23 @@ jobs:
8
compile-sketches:
9
runs-on: ubuntu-latest
10
steps:
11
+ - name: Checkout arduino-app-cli repository
12
+ uses: actions/checkout@v4
13
+ with:
14
+ repository: arduino/arduino-app-cli
15
+
16
+ - name: Extract cli-version from go.mod
17
+ id: get_cli_version
18
+ run: |
19
+ CLI_VERSION=$(grep 'github.com/arduino/arduino-cli ' go.mod | awk '{print $2}' | sed 's/^v//')
20
+ echo "cli_version=$CLI_VERSION" >> $GITHUB_OUTPUT
21
22
- name: Checkout repository
23
uses: actions/checkout@v4
24
25
- name: Verify sketches
26
uses: arduino/compile-sketches@v1
27
with:
28
+ cli-version: ${{ steps.get_cli_version.outputs.cli_version }}
29
fqbn: "arduino:zephyr:unoq"
30
sketch-paths: "./examples"
0 commit comments