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 92d17cf commit e614e26Copy full SHA for e614e26
.github/workflows/test.yml
@@ -0,0 +1,36 @@
1
+name: test
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+ branches:
7
+ - main
8
+ - release-*
9
+ pull_request:
10
+permissions:
11
+ contents: read
12
+
13
+jobs:
14
+ unit:
15
+ timeout-minutes: 10
16
+ strategy:
17
+ fail-fast: false
18
+ matrix:
19
+ os: [ubuntu-24.04]
20
+ go-version: [1.23.x, 1.24.x]
21
+ race: ["-race", ""]
22
+ runs-on: ${{ matrix.os }}
23
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - uses: actions/setup-go@v5
27
+ with:
28
+ go-version: ${{ matrix.go-version }}
29
+ - run: go test -timeout 3m ${{ matrix.race }} -v ./...
30
31
+ all-done:
32
+ needs:
33
+ - unit
34
+ runs-on: ubuntu-24.04
35
36
+ - run: echo "All jobs completed"
0 commit comments