We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec082b6 commit 7be5756Copy full SHA for 7be5756
.github/workflows/go.yml
@@ -0,0 +1,35 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
11
+jobs:
12
+ test:
13
+ name: Test
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - uses: actions/setup-go@v3
18
+ with:
19
+ go-version: "1.18"
20
+ check-latest: true
21
+ cache: true
22
+ - run: go test -race -failfast ./...
23
+ golangci-lint:
24
+ name: golangci-lint
25
26
27
28
29
30
31
32
33
+ - uses: golangci/golangci-lint-action@v3
34
35
+ version: latest
.golangci.yml
@@ -0,0 +1,5 @@
+run:
+ tests: false
+output:
+ sort-results: true
0 commit comments