Skip to content

Use runner preinstalled yq instead of installing it via snap - #34

Merged
facchinm merged 1 commit into
arduino:mainfrom
pennam:use-preinstalled-yq
Nov 18, 2026
Merged

facchinm merged 1 commit into
arduino:mainfrom
pennam:use-preinstalled-yq

Conversation

@pennam

@pennam pennam commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

mikefarah/yq v4 is preinstalled on the GitHub-hosted runner images. Installing it via snap fails intermittently on ubuntu-26.04 runners ("cannot communicate with server").

A check was added to ensure yq is installed on the runner, and that it is a compatible version.

Reference to the failing action in use https://github.com/arduino-libraries/ArduinoBLE/actions/runs/43227016745/job/131212683104

mikefarah/yq v4 is preinstalled on the GitHub-hosted runner images. Installing it via snap
fails intermittently on ubuntu-26.04 runners ("cannot communicate with server").
A missing or incompatible yq must fail here: the steps below parse their inputs with
`yq eval` in a here-string command substitution, where a failure would silently result in no
tests being run and the job passing
@facchinm
facchinm merged commit 5e7058e into arduino:main Nov 18, 2026
3 checks passed
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: enhancement Proposed improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants