Skip to content

Commit 81103fb

Browse files
committed
bump golanglint-ci.
1 parent a51abbd commit 81103fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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

goclean.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ go mod download
2020
go mod tidy
2121
UPDATED_MOD_STATUS=$(git status --porcelain go.mod go.sum)
2222
if [ "$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
2525
fi
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

0 commit comments

Comments
 (0)