fix: resolve CI failures for ELF-231 merge
- Format cmd/loadtest/main.go with gofmt - Downgrade go.mod to go 1.24 for golangci-lint compatibility - Update CI workflow Go version to 1.24 - Fix deprecated govet check-shadowing → shadow Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
6811b86d7f
commit
6d4cd04268
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.25'
|
go-version: '1.24'
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
@ -56,7 +56,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.25'
|
go-version: '1.24'
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
|
|||||||
@ -19,7 +19,8 @@ linters-settings:
|
|||||||
check-type-assertions: true
|
check-type-assertions: true
|
||||||
check-blank: true
|
check-blank: true
|
||||||
govet:
|
govet:
|
||||||
check-shadowing: true
|
enable:
|
||||||
|
- shadow
|
||||||
revive:
|
revive:
|
||||||
rules:
|
rules:
|
||||||
- name: blank-imports
|
- name: blank-imports
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user