Repository navigation
ci: use go-version-file in workflows - #6627
Conversation
Agent-Logs-Url: https://github.com/grpc-ecosystem/grpc-gateway/sessions/4d73fa85-84f8-4e40-b69b-5d752574647a Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
…rkflow Agent-Logs-Url: https://github.com/grpc-ecosystem/grpc-gateway/sessions/fc601b47-ae21-4726-b938-e722cbda423c Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
|
@copilot are there any other setup-go's in this repo we can fix at the same time? |
Agent-Logs-Url: https://github.com/grpc-ecosystem/grpc-gateway/sessions/80d84e47-0682-4e4b-bd1f-b68d548ee942 Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
Yes — updated in 3352982. The |
|
@copilot the test job is failing because the order of the jobs is wrong, we need to checkout before setting up Go |
Agent-Logs-Url: https://github.com/grpc-ecosystem/grpc-gateway/sessions/26cb147e-a343-4700-84e4-711d2370a8d6 Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
|
@copilot rebase on |
Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
|
@copilot can we do a test run of the |
Agent-Logs-Url: https://github.com/grpc-ecosystem/grpc-gateway/sessions/9597ecb2-7ba1-483f-abd1-ae27c02e0e14 Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
Done in 94896f6 — added |
|
@copilot the goreleaser job worked, undo the temporary change and I'll approve and merge this. |
Agent-Logs-Url: https://github.com/grpc-ecosystem/grpc-gateway/sessions/da49616c-e293-481c-a041-182d6c4cb342 Co-authored-by: johanbrandhorst <6604151+johanbrandhorst@users.noreply.github.com>
The release workflow was failing because
actions/setup-godefaulted to Go 1.24.13, butgo.modrequiresgo >= 1.25.0, causing GoReleaser to abort withGOTOOLCHAIN=local.Change
go-versionwithgo-version-file: 'go.mod'in all applicableactions/setup-gosteps across.github/workflows/release.ymland.github/workflows/ci.ymlThis applies to the
release,test,node_test,gorelease,proto_lint, andlintjobs. Thebuildjob's matrix of[oldstable, stable]is intentionally left unchanged as it tests against multiple Go versions.This ensures all workflows stay in sync with the module's Go requirement automatically whenever it is updated in the future.
Original prompt
This pull request was created from Copilot chat.