test: add end to end tests #208
Annotations
8 errors and 1 warning
golangci-lint:
internal/vcr/vcr.go#L132
Error return value of `r.Stop` is not checked (errcheck)
|
golangci-lint:
internal/vcr/vcr.go#L73
unused-parameter: parameter 'u' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/vcr/vcr_test.go#L1
package should be `vcr_test` instead of `vcr` (testpackage)
|
golangci-lint:
internal/vcr/vcr.go#L48
test helper function should start from t.Helper() (thelper)
|
golangci-lint:
internal/tester/packer_exec.go#L64
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
golangci-lint:
internal/tester/tester.go#L52
context-keys-type: should not use basic type string as key in context.WithValue (revive)
|
golangci-lint:
internal/tester/packer_exec.go#L32
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading