Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

crazy-max
Copy link
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 added this to the v0.22.0 milestone Feb 14, 2025
@@ -254,6 +254,8 @@ jobs:
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
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

@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