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 01e0094 + f544b29 commit b38a058Copy full SHA for b38a058
.github/workflows/go.yml
@@ -0,0 +1,39 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths-ignore:
8
+ - '**/*.md'
9
+ - 'Makefile'
10
+ pull_request:
11
12
13
14
15
16
17
+jobs:
18
19
+ build:
20
+ runs-on: ubuntu-latest
21
+ steps:
22
+ - uses: actions/checkout@v2
23
24
+ - name: Set up Go
25
+ uses: actions/setup-go@v2
26
+ with:
27
+ go-version: 1.17
28
29
+ - name: Lint
30
+ uses: golangci/golangci-lint-action@v2
31
32
+ - name: Build
33
+ run: go build -v ./...
34
35
+ - name: Test & Coverage
36
+ run: go test -v -coverprofile=coverage.out -covermode=atomic
37
38
+ - name: Upload coverage to Codecov
39
+ run: bash <(curl -s https://codecov.io/bash)
0 commit comments