Skip to content

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.62.0 #379

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.62.0

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.62.0 #379

Triggered via pull request November 11, 2024 23:55
Status Failure
Total duration 2m 51s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
generate
Process completed with exit code 1.
lint: unifi/unifi.go#L229
non-canonical header "X-CSRF-Token", instead use: "X-Csrf-Token" (canonicalheader)
lint: unifi/unifi.go#L242
non-canonical header "x-csrf-token", instead use: "X-Csrf-Token" (canonicalheader)
lint: unifi/unifi.go#L243
non-canonical header "x-csrf-token", instead use: "X-Csrf-Token" (canonicalheader)
lint: fields/extract.go#L156
Magic number: 0o755, in <argument> detected (mnd)
lint: fields/main.go#L250
Magic number: 0o755, in <argument> detected (mnd)
lint: fields/main.go#L437
Magic number: 0o644, in <argument> detected (mnd)
lint: fields/main.go#L456
Magic number: 0o644, in <argument> detected (mnd)
lint: unifi/unifi.go#L187
fmt.Errorf can be replaced with errors.New (perfsprint)
lint: unifi/user.go#L57
fmt.Errorf can be replaced with errors.New (perfsprint)
lint: fields/extract.go#L57
fmt.Errorf can be replaced with errors.New (perfsprint)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/