Skip to content

ci: infer go version from workflow for bsd tests#2995

Merged
crazy-max merged 1 commit intodocker:masterfrom
crazy-max:ci-infer-goversion-bsd
Feb 20, 2025
Merged

ci: infer go version from workflow for bsd tests#2995
crazy-max merged 1 commit intodocker:masterfrom
crazy-max:ci-infer-goversion-bsd

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Feb 14, 2025

To be consistent with go version used in our workflows.

@crazy-max crazy-max marked this pull request as ready for review February 14, 2025 11:09
@crazy-max crazy-max mentioned this pull request Feb 14, 2025
@crazy-max crazy-max added this to the v0.22.0 milestone Feb 14, 2025
name: Prepare
run: |
echo "VAGRANT_FILE=hack/Vagrantfile.${{ matrix.os }}" >> $GITHUB_ENV
goVersion=$(curl --silent "https://go.dev/dl/?mode=json&include=all" | jq -r '.[].files[].version' | uniq | sed -e 's/go//' | sort -V | grep $GO_VERSION | tail -1)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this line should have a comment line to explain how the output differs from $GO_VERSION

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the ci-infer-goversion-bsd branch from bd7d634 to cc0391e Compare February 20, 2025 10:29
@crazy-max crazy-max removed this from the v0.22.0 milestone Feb 20, 2025
@crazy-max crazy-max merged commit 18f4275 into docker:master Feb 20, 2025
127 checks passed
@crazy-max crazy-max deleted the ci-infer-goversion-bsd branch February 20, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants