diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a2adce7c..13ecc8c41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,12 @@ permissions: jobs: test: + env: + # Setting GOTOOLCHAIN to local tells go + # to to use the bundled Go version rather + # than fetching the tolchain according to + # toolchain directive found in go.mod. + GOTOOLCHAIN: local runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/go.mod b/go.mod index 576628968..0ca423f7f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/distribution/distribution/v3 -go 1.22.0 +go 1.21.0 require ( cloud.google.com/go/storage v1.30.1