Skip to content

verification attestor #243

verification attestor

verification attestor #243

Triggered via pull request October 27, 2023 06:51
Status Failure
Total duration 38s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: verify.go#L97
expected statement, found '<<' (typecheck)
lint: attestation/commandrun/commandrun.go#L1
: # github.com/testifysec/go-witness/attestation/commandrun [github.com/testifysec/go-witness/attestation/commandrun.test]
lint: attestation/commandrun/tracing_linux.go#L60
cannot use actx.Hashes() (value of type []cryptoutil.DigestValue) as type []crypto.Hash in struct literal
lint: attestation/commandrun/tracing_linux.go#L195
cannot use p.hash (variable of type []crypto.Hash) as type []cryptoutil.DigestValue in argument to cryptoutil.CalculateDigestSetFromFile
lint: attestation/commandrun/tracing_linux.go#L201
cannot use p.hash (variable of type []crypto.Hash) as type []cryptoutil.DigestValue in argument to cryptoutil.CalculateDigestSetFromFile
lint: attestation/commandrun/tracing_linux.go#L215
cannot use p.hash (variable of type []crypto.Hash) as type []cryptoutil.DigestValue in argument to cryptoutil.CalculateDigestSetFromFile (typecheck)
lint: policy/policy_test.go#L31
could not import github.com/testifysec/go-witness/attestation/commandrun (-: # github.com/testifysec/go-witness/attestation/commandrun
lint: attestation/commandrun/tracing_linux.go#L60
cannot use actx.Hashes() (value of type []cryptoutil.DigestValue) as type []crypto.Hash in struct literal
lint: attestation/commandrun/tracing_linux.go#L195
cannot use p.hash (variable of type []crypto.Hash) as type []cryptoutil.DigestValue in argument to cryptoutil.CalculateDigestSetFromFile
lint: attestation/commandrun/tracing_linux.go#L201
cannot use p.hash (variable of type []crypto.Hash) as type []cryptoutil.DigestValue in argument to cryptoutil.CalculateDigestSetFromFile
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/