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 ce621ba commit 0172b11Copy full SHA for 0172b11
.github/workflows/build.yml
@@ -0,0 +1,37 @@
1
+name: build
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
11
+ build:
12
+ name: Build
13
+ runs-on: ubuntu-latest
14
+ steps:
15
16
+ - name: Set up Go 1.x
17
+ uses: actions/setup-go@v2
18
+ id: go
19
+ with:
20
+ go-version: ^1.14
21
22
+ - name: Check out code into the Go module directory
23
+ uses: actions/checkout@v2
24
25
+ - name: Get dependencies
26
+ run: go get -v -t -d ./...
27
28
+ - name: Build
29
+ run: go build -v .
30
31
+ - name: Test
32
+ run: go test -v .
33
34
+ - name: Lint
35
+ uses: golangci/[email protected]
36
37
+ version: v1.28
0 commit comments