Skip to content

Commit 8ad8b65

Browse files
wwcchh0123CarlJi
authored andcommitted
depoly: set GO111MODULE before executing go mod tidy
1 parent 103d7b4 commit 8ad8b65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ customConfig: # custom config for specific orgs or repos
3030
source env.sh
3131
cp .golangci.yml src/qiniu.com/kodo/.golangci.yml
3232
cd src/qiniu.com/kodo
33+
export GO111MODULE=auto
3334
go mod tidy
3435
golangci-lint run --timeout=10m0s --allow-parallel-runners=true --print-issued-lines=false --out-format=line-number >> $ARTIFACT/lint.log 2>&1
3536
@@ -54,6 +55,7 @@ customConfig: # custom config for specific orgs or repos
5455
- "--"
5556
args:
5657
- |
58+
export GO111MODULE=auto
5759
cd uc
5860
go mod tidy
5961
golangci-lint run --timeout=10m0s --allow-parallel-runners=true --print-issued-lines=false --out-format=line-number >> $ARTIFACT/lint.log 2>&1

0 commit comments

Comments
 (0)