1 parent 1dcb491 commit 9e76029Copy full SHA for 9e76029
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,23 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: actions/setup-go@v5
14
+ with:
15
+ go-version-file: go.mod
16
+ - name: Format
17
+ run: test -z "$(gofmt -l .)"
18
+ - name: Vet
19
+ run: go vet ./...
20
+ - name: Build
21
+ run: go build ./...
22
+ - name: Test
23
+ run: go test -race ./...
0 commit comments