File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818 - name : Check out source
1919 uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2020 - name : Install Linters
21- run : " curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3 "
21+ run : " curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.2.2 "
2222 - name : Build
2323 run : go build ./...
2424 - name : Test
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ go mod download
2020go mod tidy
2121UPDATED_MOD_STATUS=$( git status --porcelain go.mod go.sum)
2222if [ " $UPDATED_MOD_STATUS " != " $MOD_STATUS " ]; then
23- echo " Running ` go mod tidy` modified go.mod and/or go.sum"
23+ echo " Running $( go mod tidy) modified go.mod and/or go.sum"
2424 exit 1
2525fi
2626
2727# golangci-lint (github.com/golangci/golangci-lint) is used to run each each
2828# static checker.
2929
3030# check linters
31- golangci-lint run
31+ golangci-lint run --deadline=10m
You can’t perform that action at this time.
0 commit comments