diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ee148d..9254312 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,11 @@ jobs: - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' + # go.mod pins a `toolchain` newer than the `go` line, so setup-go + # installs the older Go and GOTOOLCHAIN downloads the toolchain into + # the module cache; setup-go's cache tar then collides on those + # read-only toolchain files (tar: .../cgo: File exists). Skip caching. + cache: false - name: Build run: go build ./... - name: Vet diff --git a/go.mod b/go.mod index aff3cad..f1b01b3 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/codefly-dev/service-s3 go 1.26 +toolchain go1.26.6 + require ( github.com/codefly-dev/core v0.3.4 google.golang.org/grpc v1.83.0