Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shamaton authored Sep 10, 2023
1 parent 675f8a2 commit 2270ce1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.15, 1.16, 1.17, 1.18]
go: ['1.19', '1.20', '1.21']
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

- name: Cache
uses: actions/cache@v2.1.0
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{ env.WORKSPACE }}

Expand All @@ -44,7 +44,7 @@ jobs:
run: sh testdata/test.sh

- name: Upload coverage to Codecov
if: success() && matrix.go == 1.18 && matrix.os == 'windows-latest'
if: success() && matrix.go == '1.21' && matrix.os == 'windows-latest'
uses: codecov/codecov-action@v1
with:
token:
Expand All @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: ${{ env.WORKSPACE }}
- name: golangci-lint
Expand Down

0 comments on commit 2270ce1

Please sign in to comment.