Skip to content

Commit 047fa03

Browse files
sudo-bmitchRamkumar Chinchani
authored andcommitted
Update Go versions in release scripts
Signed-off-by: Brandon Mitchell <[email protected]>
1 parent b8bd308 commit 047fa03

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/docs-and-linting.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
go: ['1.19', '1.20', '1.21']
12+
# current Go releases plus the version in the go.mod are tested
13+
go: ['1.18', '1.21', '1.22']
14+
15+
env:
16+
RELEASE_GO_VER: "1.22"
1317

1418
name: Documentation and Linting
1519
steps:
@@ -41,7 +45,8 @@ jobs:
4145
make docs
4246
4347
- name: documentation artifacts
44-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
49+
if: matrix.go == env.RELEASE_GO_VER
4550
with:
4651
name: oci-docs
4752
path: go/src/github.com/opencontainers/image-spec/output

0 commit comments

Comments
 (0)