File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 10
10
strategy :
11
11
matrix :
12
12
# current Go releases plus the version in the go.mod are tested
13
- go : ['1.18', '1.22', '1.23']
13
+ go : ['go.mod', 'oldstable', 'stable']
14
+ # https://github.com/actions/setup-go/tree/v5#getting-go-version-from-the-gomod-file
15
+ # https://github.com/actions/setup-go/tree/v5#using-stableoldstable-aliases
14
16
15
17
env :
16
18
RELEASE_GO_VER : " 1.23"
24
26
25
27
- uses : actions/setup-go@v5
26
28
with :
27
- go-version : ${{ matrix.go }}
29
+ go-version : ${{ matrix.go != 'go.mod' && matrix.go || null }}
30
+ go-version-file : ${{ matrix.go == 'go.mod' && 'go/src/github.com/opencontainers/image-spec/go.mod' || null }}
31
+ cache-dependency-path : go/src/github.com/opencontainers/image-spec/go.sum
28
32
29
33
- name : Render and Lint
30
34
env :
You can’t perform that action at this time.
0 commit comments