Skip to content

Commit c66f154

Browse files
authored
Merge pull request #405 from mattfarina/bump-go-testing
Updating the Go versions used in testing
2 parents 581758e + ca34df7 commit c66f154

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/test.yaml

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
on: [push, pull_request]
22
name: Tests
3+
permissions:
4+
contents: read
35
jobs:
46
test:
57
strategy:
68
matrix:
7-
go-version: [1.17.x, 1.18.x, 1.19.x]
9+
go-version: [1.21.x, 1.22.x, 1.23.x]
810
platform: [ubuntu-latest, macos-latest, windows-latest]
911
runs-on: ${{ matrix.platform }}
1012
steps:
11-
- name: Install Go
12-
uses: actions/setup-go@v3
13-
with:
14-
go-version: ${{ matrix.go-version }}
15-
- name: Checkout code
16-
uses: actions/checkout@v3
17-
- name: Test
18-
env:
19-
GO111MODULE: on
20-
run: go test -cover .
13+
- name: Install Go
14+
uses: actions/setup-go@v5
15+
with:
16+
go-version: ${{ matrix.go-version }}
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
- name: Test
20+
env:
21+
GO111MODULE: on
22+
run: go test -cover .

0 commit comments

Comments
 (0)