Skip to content

lint: enable staticcheck and fix problems #11

lint: enable staticcheck and fix problems

lint: enable staticcheck and fix problems #11

Triggered via push April 13, 2024 16:43
Status Failure
Total duration 1m 44s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

70 errors and 4 warnings
lint: internal/s3assumer/context.go#L48
SA1019: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made. (staticcheck)
lint: init_test.go#L282
SA1019: session.New is deprecated: Use NewSession functions to create sessions instead. NewSession has the same functionality as New except an error can be returned when the func is called instead of waiting to receive an error until a request is made. (staticcheck)
lint
issues found
go1.21
Process completed with exit code 1.
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.21
Cannot open: File exists
go1.20
Process completed with exit code 1.
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
go1.20
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Cannot open: File exists
linux_386
Process completed with exit code 1.
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Cannot open: File exists
linux
Process completed with exit code 1.
mac_arm64
Process completed with exit code 1.
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_arm64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Cannot open: File exists
mac_amd64
Process completed with exit code 1.
windows
Process completed with exit code 1.
go1.21
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
go1.20
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
linux_386
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
linux
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2