diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d7c7b11..1c8cf49 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,16 +15,18 @@ jobs: test: strategy: matrix: - go-version: [1.20.x] + go-version: + - 1.20.x + - 1.21.x os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: @@ -32,7 +34,7 @@ jobs: - name: go coverage run: | go test -mod=readonly -v -race -covermode=atomic -coverprofile=coverage.out ./... - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 if: success() with: file: ./coverage.out