We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 152c026 commit 3855469Copy full SHA for 3855469
1 file changed
.github/workflows/go.yml
@@ -0,0 +1,23 @@
1
+name: Go
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
+jobs:
10
+ build-and-release:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - uses: actions/setup-go@v2
15
+ with:
16
+ go-version: 1.16
17
+ - run: go build -v ./...
18
+ - run: go test -v ./...
19
+ - uses: go-semantic-release/action@v1
20
+ if: ${{ github.ref == 'refs/heads/master' }}
21
22
+ github-token: ${{ secrets.GITHUB_TOKEN }}
23
+ allow-initial-development-versions: true
0 commit comments