From 98a902701687523a2ee31306c6085f26b8a31b07 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot Date: Tue, 17 Oct 2023 12:00:00 +0200 Subject: [PATCH] Add new versions to go matrix --- .github/workflows/go.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index d2bb00b0..cf7f1f82 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: test: name: Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -20,21 +20,26 @@ jobs: - "1.13" - "1.14" - "1.15" - - "1.16.0-beta1" + - "1.16" + - "1.17" + - "1.18" + - "1.19" + - "1.20" + - "1.21" + - "1.22" - "tip" env: GOPATH: ${{ github.workspace }}/go steps: - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: ${{ github.workspace }}/go/src/gopkg.in/yaml.v3 - name: Set up Go ${{ matrix.go }} if: matrix.go != 'tip' - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - stable: false - name: Set up Go ${{ matrix.go }} if: matrix.go == 'tip' run: |