Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/.commonfiles.sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b3947640742a721e67d87455299cf3681a6e5904
f0c964858bc7cc9f02af8d0134e913f18b5169a3
3 changes: 3 additions & 0 deletions common/config/.golangci-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@ run:
skip-files:
- ".*\\.pb\\.go"
- ".*\\.gen\\.go"
# This file requires a custom import order for side effects (https://github.com/grpc/grpc-go/issues/4124)
- pilot/pkg/networking/grpcgen/grpcgen_test.go

linters:
disable-all: true
enable:
- goimports
- gci
- gofumpt
fast: false

linters-settings:
Expand Down
6 changes: 4 additions & 2 deletions common/config/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ run:
skip-files:
- ".*\\.pb\\.go"
- ".*\\.gen\\.go"
# This file requires a custom import order for side effects (https://github.com/grpc/grpc-go/issues/4124)
- pilot/pkg/networking/grpcgen/grpcgen_test.go

linters:
disable-all: true
enable:
- deadcode
- errcheck
- gocritic
- gofmt
- gofumpt
- goimports
- golint
- gosimple
Expand Down Expand Up @@ -68,7 +70,7 @@ linters-settings:
golint:
# minimal confidence for issues, default is 0.8
min-confidence: 0.0
gofmt:
gofumpt:
# simplify code: gofmt with `-s` option, true by default
simplify: true
goimports:
Expand Down
2 changes: 1 addition & 1 deletion common/scripts/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fi

# Build image to use
if [[ "${IMAGE_VERSION:-}" == "" ]]; then
export IMAGE_VERSION=master-2021-01-29T01-18-46
export IMAGE_VERSION=master-2021-02-17T16-37-14
fi
if [[ "${IMAGE_NAME:-}" == "" ]]; then
export IMAGE_NAME=build-tools
Expand Down