Skip to content

Commit 468e12a

Browse files
committed
fixes
Signed-off-by: cpanato <[email protected]>
1 parent 4fccf52 commit 468e12a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
contents: write
2121

2222
env:
23-
GOPATH: ${{ github.workspace }}
24-
GO111MODULE: on
2523
COSIGN_YES: "true"
2624

2725
steps:
@@ -42,8 +40,6 @@ jobs:
4240

4341
- name: Check out code onto GOPATH
4442
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
45-
with:
46-
fetch-depth: 1
4743

4844
- name: Set tag output
4945
id: get_tag

.goreleaser.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ env:
44
- DOCKER_CLI_EXPERIMENTAL=enabled
55
- COSIGN_YES=true
66

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+
713
gomod:
814
proxy: true
915

0 commit comments

Comments
 (0)