Skip to content

Commit aa2c4b5

Browse files
authored
[ci] Configure action/setup-go to read golang version from go.mod (#3825)
1 parent 7be6aea commit aa2c4b5

File tree

3 files changed

+1
-33
lines changed

3 files changed

+1
-33
lines changed

.github/actions/set-go-version-in-env/action.yml

-16
This file was deleted.

.github/actions/set-go-version-in-env/go_version_env.sh

-14
This file was deleted.

.github/actions/setup-go-for-project/action.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ description: 'Install a go toolchain with project defaults'
1616
runs:
1717
using: composite
1818
steps:
19-
- name: Set the project Go version in the environment
20-
uses: ./.github/actions/set-go-version-in-env
2119
- name: Set up Go
2220
uses: actions/setup-go@v5
2321
with:
24-
go-version: '${{ env.GO_VERSION }}'
22+
go-version-file: go.mod

0 commit comments

Comments
 (0)