Skip to content

Commit 06945e3

Browse files
authored
chore: update and fix broken go-test.yml (#105)
* chore: update go-test.yml
1 parent b92bf55 commit 06945e3

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/go-test.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,22 @@ on:
88

99
jobs:
1010
test:
11-
## We want to define a strategy for our job
1211
strategy:
13-
## this will contain a matrix of all of the combinations
14-
## we wish to test again:
1512
matrix:
16-
go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
17-
platform: [ubuntu-latest, macos-latest, windows-latest]
13+
go-version: ["1.18", "1.20", "1.21", "1.22"]
14+
platform: [ubuntu-latest]
1815

19-
## Defines the platform for each test run
2016
runs-on: ${{ matrix.platform }}
2117

2218
steps:
23-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2420
with:
2521
submodules: true
2622

2723
- name: Set up Go
28-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v5
2925
with:
30-
go-version: 1.15
31-
26+
go-version: ${{ matrix.go }}
27+
check-latest: true
3228
- name: Run Go Test
3329
run: go test -v ./...

0 commit comments

Comments
 (0)