Skip to content

fix(ci): fix golangci-lint error #23

fix(ci): fix golangci-lint error

fix(ci): fix golangci-lint error #23

Triggered via push August 15, 2025 10:52
Status Failure
Total duration 35s
Artifacts

ci.yml

on: push
Matrix: Build
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 8 warnings
Security Scan
Unable to resolve action securecodewarrior/github-action-gosec, repository not found
Lint: wal/wal_test.go#L342
shadow: declaration of "err" shadows declaration at line 332 (govet)
Lint: wal/wal.go#L107
shadow: declaration of "err" shadows declaration at line 88 (govet)
Lint: wal/encoder.go#L32
shadow: declaration of "err" shadows declaration at line 28 (govet)
Lint: snap/snapshotter_test.go#L107
shadow: declaration of "err" shadows declaration at line 99 (govet)
Lint: pkg/transport/listener_test.go#L136
shadow: declaration of "err" shadows declaration at line 127 (govet)
Lint: pkg/transport/listener_test.go#L116
shadow: declaration of "err" shadows declaration at line 100 (govet)
Lint: main.go#L223
shadow: declaration of "err" shadows declaration at line 139 (govet)
Lint: proxy/reverse_test.go#L45
File is not properly formatted (gofmt)
Lint: pkg/transport/listener_test.go#L107
File is not properly formatted (gofmt)
Lint: pkg/flag_test.go#L76
File is not properly formatted (gofmt)
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.23)
Cannot open: File exists
Test (1.24)
Process completed with exit code 1.
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Test (1.24)
Cannot open: File exists
Build (1.23, windows-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build (1.23, macos-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Lint
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0lhGfaAAAAABN3C+taZcgTIS9EGIFmD61UEhYMzFFREdFMDUwNgBFZGdl
Lint
Failed to restore: Cache service responded with 400
Test (1.23)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test (1.23)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Test (1.24)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build (1.23, ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2