Skip to content

feat: support npm v1.0 #1220

feat: support npm v1.0

feat: support npm v1.0 #1220

Triggered via pull request September 27, 2023 01:53
Status Failure
Total duration 2m 49s
Artifacts

pre-submit.lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: verifiers/internal/gha/provenance_forgeable.go#L12
could not import github.com/slsa-framework/slsa-verifier/v2/verifiers/internal/gha/slsaprovenance/v1.0 (-: # github.com/slsa-framework/slsa-verifier/v2/verifiers/internal/gha/slsaprovenance/v1.0
golangci-lint: verifiers/internal/gha/slsaprovenance/v1.0/provenance.go#L34
undefined: newCLIBuilderProvenance) (typecheck)
golangci-lint: verifiers/internal/gha/npm_test.go#L64
not enough arguments in call to verifyName
golangci-lint: verifiers/internal/gha/npm_test.go#L974
cannot use tt.predicateType (variable of type string) as []string value in argument to verifyIntotoTypes (typecheck)
golangci-lint: verifiers/internal/gha/provenance_test.go#L295
undefined: common.NpmCLIBuildTypeV1 (typecheck)
golangci-lint: verifiers/internal/gha/provenance_test.go#L302
undefined: common.NpmCLIBuildTypeV1 (typecheck)
golangci-lint: verifiers/internal/gha/provenance_test.go#L310
undefined: common.NpmCLIBuildTypeV2 (typecheck)
golangci-lint: verifiers/internal/gha/provenance_test.go#L319
undefined: common.NpmCLIBuildTypeV2 (typecheck)
golangci-lint: verifiers/internal/gha/slsaprovenance/slsaprovenance.go#L15
could not import github.com/slsa-framework/slsa-verifier/v2/verifiers/internal/gha/slsaprovenance/v1.0 (-: # github.com/slsa-framework/slsa-verifier/v2/verifiers/internal/gha/slsaprovenance/v1.0
golangci-lint: verifiers/internal/gha/slsaprovenance/v1.0/provenance.go#L34
undefined: newCLIBuilderProvenance) (typecheck)