diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f8760aa..8473bd22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.24' cache: true - name: Check formatting @@ -56,7 +56,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: '1.24' cache: true - name: Run golangci-lint diff --git a/.golangci.yml b/.golangci.yml index b6c09e86..616b920a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,7 +19,8 @@ linters-settings: check-type-assertions: true check-blank: true govet: - check-shadowing: true + enable: + - shadow revive: rules: - name: blank-imports diff --git a/cmd/loadtest/main.go b/cmd/loadtest/main.go index 12c253f2..01c0f099 100644 --- a/cmd/loadtest/main.go +++ b/cmd/loadtest/main.go @@ -96,4 +96,4 @@ func main() { fmt.Printf("Max latency: %.2f ms\n", float64(atomic.LoadInt64(&maxLatency))/1000) fmt.Printf("Requests/sec: %.2f\n", float64(*total)/duration.Seconds()) } -} \ No newline at end of file +}