We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eea2a7 commit 2824cb2Copy full SHA for 2824cb2
.github/workflows/go.yml .github/workflows/release.yml.github/workflows/go.yml renamed to .github/workflows/release.yml
@@ -1,10 +1,9 @@
1
-name: Go
+name: Release
2
3
on:
4
push:
5
- branches: [ master ]
6
- pull_request:
7
+ tags:
+ - '*'
8
9
jobs:
10
getip:
.github/workflows/test.yml
@@ -0,0 +1,26 @@
+name: Test
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+jobs:
+ getip:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ -
14
+ name: Checkout
15
+ uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 0
18
19
+ name: Set up Go
20
+ uses: actions/setup-go@v2
21
22
+ go-version: 1.15
23
+ - name: Test golang src
24
+ run: go test ./...
25
+ - name: Build golang src
26
+ run: go build
0 commit comments