Update golangci-lint

This commit is contained in:
世界 2025-09-22 12:51:12 +08:00
parent 09d1d97313
commit b42efe2516
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 59 additions and 32 deletions

View file

@ -20,21 +20,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ^1.23
- name: Cache go module
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
key: go-${{ hashFiles('**/go.sum') }}
go-version: ^1.25
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v8
with:
version: latest
args: .
args: --timeout=30m
install-mode: binary
verify: false