We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 581758e + ca34df7 commit c66f154Copy full SHA for c66f154
.github/workflows/test.yaml
@@ -1,20 +1,22 @@
1
on: [push, pull_request]
2
name: Tests
3
+permissions:
4
+ contents: read
5
jobs:
6
test:
7
strategy:
8
matrix:
- go-version: [1.17.x, 1.18.x, 1.19.x]
9
+ go-version: [1.21.x, 1.22.x, 1.23.x]
10
platform: [ubuntu-latest, macos-latest, windows-latest]
11
runs-on: ${{ matrix.platform }}
12
steps:
- - name: Install Go
- 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 .
+ - name: Install Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: ${{ matrix.go-version }}
+ - name: Checkout code
+ uses: actions/checkout@v4
+ - name: Test
+ env:
21
+ GO111MODULE: on
22
+ run: go test -cover .
0 commit comments