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:
Jordan Patel 2026-06-24 07:56:12 +02:00
parent 6811b86d7f
commit 6d4cd04268
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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