diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2e1df25..ba3f1de 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,13 +14,13 @@ jobs: steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: ^1.13 id: go - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Build run: go build -v . @@ -29,7 +29,7 @@ jobs: run: go test -v -race -coverprofile=coverage.txt -covermode=atomic - name: Codecov - uses: codecov/codecov-action@v1.0.6 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.txt @@ -39,12 +39,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.14', '1.13', '1.12', '1.11', '1.10' ] + go: [ '1.21', '1.20', '1.19', '1.18', '1.17', '1.16', '1.15', '1.14' ] name: Go ${{ matrix.go }} compatibility steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup go - uses: actions/setup-go@v1 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - run: go test -v