Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Reworked provenance verification. #1045

Reworked provenance verification.

Reworked provenance verification. #1045

Triggered via pull request September 19, 2023 11:19
Status Failure
Total duration 1m 56s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
build-all
Process completed with exit code 1.
linting: internal/verifier/verifier_test.go#L41
Error return value is not checked (errcheck)
linting: internal/verifier/verifier_test.go#L51
Error return value is not checked (errcheck)
linting: internal/verifier/verifier.go#L29
cognitive complexity 104 of func `Verify` is high (> 30) (gocognit)
linting: internal/verifier/verifier_test.go#L30
var-naming: const repoUri should be repoURI (revive)
linting: internal/verifier/verifier_test.go#L31
var-naming: const otherRepoUri should be otherRepoURI (revive)
linting: internal/verifier/verifier.go#L100
var-naming: var repoUri should be repoURI (revive)
linting: cmd/endorser/main.go#L50
calculated cyclomatic complexity for function main is 11, max is 10 (cyclop)
linting: cmd/endorser/main.go#L48
provenanceURIs is a global variable (gochecknoglobals)
linting: internal/verifier/verifier.go#L79
variable name 'i' is too short for the scope of its usage (varnamelen)
linting: internal/verifier/verifier.go#L80
variable name 'd' is too short for the scope of its usage (varnamelen)

Artifacts

Produced during runtime
Name Size
coverage.html Expired
190 KB