We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41d9b6 commit 321f834Copy full SHA for 321f834
.github/workflows/test.yml
@@ -9,18 +9,22 @@ on:
9
jobs:
10
test:
11
runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ goVersion: [ "1.11", "1.21", "1.23" ]
15
steps:
16
- uses: actions/checkout@v4
17
18
- name: Set up Go
19
uses: actions/setup-go@v4
20
with:
- go-version: '1.21'
21
+ go-version: ${{ matrix.goVersion }}
22
23
- name: Run tests with coverage
24
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
25
26
- name: Upload coverage reports to Codecov
27
+ if: ${{ matrix.goVersion == '1.23' }}
28
uses: codecov/codecov-action@v5
29
30
token: ${{ secrets.CODECOV_TOKEN }}
go.mod
@@ -1,3 +1,3 @@
1
module github.com/yarlson/pin
2
3
-go 1.21
+go 1.11
0 commit comments