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 aaaed58 commit 86eb2a6Copy full SHA for 86eb2a6
.github/workflows/build.yml
.github/workflows/tests.yml
@@ -0,0 +1,33 @@
1
+name: tests
2
+
3
+on:
4
+ push: &triggers
5
+ paths:
6
+ - "**.go"
7
+ - "go.mod"
8
+ - "go.sum"
9
+ - ".github/workflows/tests.yml"
10
+ branches:
11
+ - main
12
+ pull_request: *triggers
13
14
+jobs:
15
+ test:
16
+ strategy:
17
+ matrix:
18
+ os: [ubuntu-latest, windows-latest]
19
+ fail-fast: false
20
21
+ runs-on: ${{ matrix.os }}
22
23
+ steps:
24
+ - name: Checkout
25
+ uses: checkout@v4
26
27
+ - name: Set up Go
28
+ uses: actions/setup-go@v6
29
+ with:
30
+ go-version-file: 'go.mod'
31
32
+ - name: Run tests
33
+ run: make test
0 commit comments