Add -trimpath & remove -mod=readonly build flag
This commit is contained in:
parent
614d2b3015
commit
0b02535c8f
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -30,7 +30,6 @@ jobs:
|
||||
needs:
|
||||
- test
|
||||
env:
|
||||
GOFLAGS: -mod=readonly
|
||||
BUILD_OS: linux
|
||||
BUILD_ARCH: amd64
|
||||
RELEASE_SFTP_KEY: ${{ secrets.RELEASE_SFTP_KEY }}
|
||||
@ -56,7 +55,6 @@ jobs:
|
||||
needs:
|
||||
- test
|
||||
env:
|
||||
GOFLAGS: -mod=readonly
|
||||
BUILD_OS: darwin
|
||||
BUILD_ARCH: amd64
|
||||
BUILD_VERSION: ${{ format(github.ref, 'refs/tags/', '') }}
|
||||
@ -83,7 +81,6 @@ jobs:
|
||||
needs:
|
||||
- test
|
||||
env:
|
||||
GOFLAGS: -mod=readonly
|
||||
BUILD_OS: linux
|
||||
BUILD_ARCH: amd64
|
||||
steps:
|
||||
|
||||
1
.github/workflows/snapshot.yml
vendored
1
.github/workflows/snapshot.yml
vendored
@ -34,7 +34,6 @@ jobs:
|
||||
needs:
|
||||
- test
|
||||
env:
|
||||
GOFLAGS: -mod=readonly
|
||||
BUILD_OS: linux
|
||||
BUILD_ARCH: amd64
|
||||
BUILD_VERSION_SHA: ${GITHUB_SHA}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
GO = go
|
||||
GOGET = $(GO) get -u
|
||||
GOFLAGS ?= -mod=vendor
|
||||
GOFLAGS ?= -trimpath
|
||||
GOPATH ?= $(HOME)/go
|
||||
|
||||
CGO_ENABLED = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user