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 10b9655 commit e3be055Copy full SHA for e3be055
‎.github/workflows/ci.yml‎
@@ -0,0 +1,40 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "**"
7
8
+jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ # if: "!contains(github.event.head_commit.message, '[ci skip]')"
12
+ strategy:
13
+ matrix:
14
+ go: ["1.21", "1.22", "1.23"]
15
+ name: Test on Go ${{ matrix.go }}
16
+ steps:
17
+ # https://github.com/actions/checkout
18
+ - uses: actions/checkout@v4
19
+ with:
20
+ submodules: recursive
21
22
+ # https://github.com/actions/setup-go
23
+ - uses: actions/setup-go@v5
24
25
+ go-version: ${{ matrix.go }}
26
27
+ - name: Check golang version/env
28
+ run: |
29
+ set -x
30
+ go version
31
+ go env
32
33
+ - name: build
34
+ run: make build
35
36
+ - name: lint
37
+ run: make lint
38
39
+ - name: test
40
+ run: make test
0 commit comments