We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
testing.yml
1 parent 11003da commit dedfe18Copy full SHA for dedfe18
1 file changed
.github/workflows/testing.yml
@@ -0,0 +1,24 @@
1
+name: Testing
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ test:
6
+ strategy:
7
+ matrix:
8
+ go-version: ["1.20", 1.21.x, 1.22.x]
9
+ os: [ubuntu-latest, macos-latest, windows-latest]
10
+ runs-on: ${{ matrix.os }}
11
12
+ steps:
13
+ - name: Setup Go
14
+ uses: actions/setup-go@v5
15
+ with:
16
+ go-version: ${{ matrix.go-version }}
17
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
21
+ - name: Test
22
+ run: |
23
+ go version
24
+ go test . -v -cover
0 commit comments