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 4fccf52 commit 468e12aCopy full SHA for 468e12a
.github/workflows/release.yml
@@ -20,8 +20,6 @@ jobs:
20
contents: write
21
22
env:
23
- GOPATH: ${{ github.workspace }}
24
- GO111MODULE: on
25
COSIGN_YES: "true"
26
27
steps:
@@ -42,8 +40,6 @@ jobs:
42
40
43
41
- name: Check out code onto GOPATH
44
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
45
- with:
46
- fetch-depth: 1
47
48
- name: Set tag output
49
id: get_tag
.goreleaser.yml
@@ -4,6 +4,12 @@ env:
4
- DOCKER_CLI_EXPERIMENTAL=enabled
5
- COSIGN_YES=true
6
7
+# Prevents parallel builds from stepping on each others toes downloading modules
8
+before:
9
+ hooks:
10
+ - go mod tidy
11
+ - /bin/bash -c 'if [ -n "$(git --no-pager diff --exit-code go.mod go.sum)" ]; then exit 1; fi'
12
+
13
gomod:
14
proxy: true
15
0 commit comments