Skip to content

Pin patchlevel version while setting up Go in CI#51142

Closed
amoghrajesh wants to merge 1 commit intoapache:mainfrom
amoghrajesh:go-sdk-pin-1.24.0
Closed

Pin patchlevel version while setting up Go in CI#51142
amoghrajesh wants to merge 1 commit intoapache:mainfrom
amoghrajesh:go-sdk-pin-1.24.0

Conversation

@amoghrajesh
Copy link
Copy Markdown
Contributor

Observed

Setup go version spec 1.24
Attempting to download 1.24...
matching 1.24...
Acquiring 1.24.3 from https://github.com/actions/go-versions/releases/download/1.24.3-[14](https://github.com/apache/airflow/actions/runs/15281207510/job/42983260314?pr=51122#step:3:15)875263452/go-1.24.3-linux-x64.tar.gz
Extracting Go...
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/958e0d9a-9ea1-49ed-8500-a0f2a5123443 -f /home/runner/work/_temp/0256b5ef-38c5-4b7d-813c-69c0ff85771f
Successfully extracted go to /home/runner/work/_temp/958e0d9a-9ea1-49ed-8500-a0f2a5123443
Adding to the cache ...
Successfully cached go to /opt/hostedtoolcache/go/1.24.3/x64
Added go to the path
Successfully set up Go version 1.24
/opt/hostedtoolcache/go/1.24.3/x64/bin/go env GOMODCACHE
/opt/hostedtoolcache/go/1.[24](https://github.com/apache/airflow/actions/runs/15281207510/job/42983260314?pr=51122#step:3:25).3/x64/bin/go env GOCACHE
/home/runner/go/pkg/mod
/home/runner/.cache/go-build
Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/airflow/airflow. Supported file pattern: go.sum
go version go1.24.3 linux/amd64

in https://github.com/apache/airflow/actions/runs/15281207510/job/42983260314?pr=51122.

If patch level version isnt specificed, it seems to pick any patch level version. To keep it consistent, marking patch level version.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@amoghrajesh
Copy link
Copy Markdown
Contributor Author

Latest is ok, closing in that regard.

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.

1 participant