Compare commits
2 Commits
f9f4add257
...
93bc6e082c
| Author | SHA1 | Date | |
|---|---|---|---|
| 93bc6e082c | |||
| ef54924137 |
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -78,11 +78,13 @@ jobs:
|
||||
with:
|
||||
go-version: '1.24'
|
||||
|
||||
- name: Install golangci-lint v2.1.6
|
||||
run: |
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6
|
||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.64.8
|
||||
args: --timeout=5m
|
||||
run: golangci-lint run --timeout=5m
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# golangci-lint configuration
|
||||
# See https://golangci-lint.run/usage/configuration/
|
||||
# Note: CI uses v1.64.8 which doesn't support version: 2
|
||||
# Local v2.x will work with this config but may show a deprecation warning
|
||||
|
||||
version: 2
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
|
||||
Reference in New Issue
Block a user