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 bbc75cf + 50385b9 commit c00b7dbCopy full SHA for c00b7db
.github/workflows/go.yml
@@ -4,6 +4,9 @@ on:
4
push:
5
tags:
6
- '*'
7
+ branches: [ master ]
8
+ pull_request:
9
10
11
jobs:
12
@@ -20,6 +23,8 @@ jobs:
20
23
21
24
- name: Check out code into the Go module directory
22
25
uses: actions/checkout@v2
26
+ with:
27
+ fetch-depth: 0
28
29
- name: Get dependencies
30
run: |
@@ -33,7 +38,7 @@ jobs:
33
38
34
39
mkdir -p bin
35
40
# workaround for https://github.com/actions/checkout/issues/290
36
- git fetch --tags --force
41
+ git fetch --tags --force --prune
37
42
VERSION=$(git describe --tags --dirty)
43
STATIC_FLAG='-w -extldflags "-static"'
44
for platform in darwin/amd64 linux/amd64 linux/ppc64le
.github/workflows/go_pr.yml
0 commit comments