From e19126761ca5e25534079e8eb0a2bb6bed234f01 Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Mon, 19 Feb 2024 16:12:08 -0500 Subject: [PATCH] Update Go versions in release scripts Signed-off-by: Brandon Mitchell --- .github/workflows/docs-and-linting.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs-and-linting.yml b/.github/workflows/docs-and-linting.yml index 8ca7f038..7714b3d9 100644 --- a/.github/workflows/docs-and-linting.yml +++ b/.github/workflows/docs-and-linting.yml @@ -9,7 +9,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.19', '1.20', '1.21'] + # current Go releases plus the version in the go.mod are tested + go: ['1.18', '1.21', '1.22'] + + env: + RELEASE_GO_VER: "1.22" name: Documentation and Linting steps: @@ -41,7 +45,8 @@ jobs: make docs - name: documentation artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 + if: matrix.go == env.RELEASE_GO_VER with: name: oci-docs path: go/src/github.com/opencontainers/image-spec/output