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 7c8bc69 commit 7d326a1Copy full SHA for 7d326a1
.github/workflows/go.yml
@@ -0,0 +1,30 @@
1
+name: Go
2
+on:
3
+ pull_request:
4
+ branches:
5
+ - master
6
+jobs:
7
+
8
+ build:
9
+ name: Build
10
+ runs-on: ubuntu-latest
11
+ steps:
12
13
+ - name: Setup
14
+ uses: actions/setup-go@v1
15
+ with:
16
+ go-version: 1.13
17
+ id: go
18
19
+ - name: Check out code into the Go module directory
20
+ uses: actions/checkout@v1
21
22
+ - name: Get dependencies
23
+ run: |
24
+ curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
25
26
+ - name: Lint
27
+ run: golangci-lint run
28
29
+ - name: Test
30
+ run: go test -v ./...
0 commit comments