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.
2 parents 55d35f4 + 453a454 commit f7ca803Copy full SHA for f7ca803
.github/workflows/go.yml
@@ -0,0 +1,35 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ name: Build
12
+ runs-on: ubuntu-latest
13
+ steps:
14
15
+ - name: Set up Go 1.x
16
+ uses: actions/setup-go@v2
17
+ with:
18
+ go-version: ^1.13
19
+ id: go
20
21
+ - name: Check out code into the Go module directory
22
+ uses: actions/checkout@v2
23
24
+ - name: Get dependencies
25
+ run: go mod tidy
26
27
+ - name: golangci-lint
28
+ uses: golangci/golangci-lint-action@v1
29
30
+ version: v1.26
31
+ only-new-issues: true
32
33
+ - name: Test
34
+ run: go test -v -covermode=atomic -coverprofile=coverage.out -race
35
0 commit comments