diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebfc551fe..4ca0dd7ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 7c08926f7..2cb742029 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -34,7 +34,6 @@ jobs: needs: - test env: - GOFLAGS: -mod=readonly BUILD_OS: linux BUILD_ARCH: amd64 BUILD_VERSION_SHA: ${GITHUB_SHA} diff --git a/Makefile.inc b/Makefile.inc index 36f6c7b0b..1489de333 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,6 +1,6 @@ GO = go GOGET = $(GO) get -u -GOFLAGS ?= -mod=vendor +GOFLAGS ?= -trimpath GOPATH ?= $(HOME)/go CGO_ENABLED = 1