mirror of
https://github.com/dolthub/dolt.git
synced 2025-12-30 16:12:39 -06:00
/{.github, go}: Use GOFLAGS var to build binaries without updating go.mod
This commit is contained in:
1
.github/workflows/ci-check-repo.yaml
vendored
1
.github/workflows/ci-check-repo.yaml
vendored
@@ -21,6 +21,7 @@ jobs:
|
||||
working-directory: ./go
|
||||
# Keep this in sync with //go/utils/prepr/prepr.sh.
|
||||
run: |
|
||||
GOFLAGS="-mod=readonly" go build ./...
|
||||
./utils/repofmt/check_fmt.sh
|
||||
./Godeps/verify.sh
|
||||
./utils/checkcommitters/check_pr.sh
|
||||
|
||||
@@ -13,7 +13,7 @@ fi
|
||||
# Keep this in sync with .github/workflows/ci-check-repo.yaml contents that
|
||||
# are easy to evaluate locally and might commonly fail.
|
||||
|
||||
go get -mod=readonly ./...
|
||||
GOFLAGS="-mod=readonly" go build ./...
|
||||
./utils/repofmt/check_fmt.sh
|
||||
./Godeps/verify.sh
|
||||
go run ./utils/checkcommitters -dir "$target"
|
||||
|
||||
Reference in New Issue
Block a user