Skip to content

Combine all CI into a single file and generate the matrix dynamically #4

Combine all CI into a single file and generate the matrix dynamically

Combine all CI into a single file and generate the matrix dynamically #4

GitHub Actions / golangci-crypto failed Oct 18, 2023 in 0s

reviewdog [golangci-crypto] report

reported by reviewdog 🐶

Findings (4)

crypto/ed25519/private_key.go|35 col 18| type assertion must be checked (forcetypeassert)
crypto/ed25519/public_key.go|71 col 9| type assertion must be checked (forcetypeassert)
crypto/ed25519/seed.go|47 col 2| type assertion must be checked (forcetypeassert)
crypto/ed25519/signature.go|23 col 9| type assertion must be checked (forcetypeassert)

Filtered Findings (0)

Annotations

Check failure on line 35 in crypto/ed25519/private_key.go

See this annotation in the file changed.

@github-actions github-actions / golangci-crypto

[golangci-crypto] crypto/ed25519/private_key.go#L35

type assertion must be checked (forcetypeassert)
Raw output
ed25519/private_key.go:35:18: type assertion must be checked (forcetypeassert)
	copy(result[:], publicKey.(ed25519.PublicKey))
	                ^

Check failure on line 71 in crypto/ed25519/public_key.go

See this annotation in the file changed.

@github-actions github-actions / golangci-crypto

[golangci-crypto] crypto/ed25519/public_key.go#L71

type assertion must be checked (forcetypeassert)
Raw output
ed25519/public_key.go:71:9: type assertion must be checked (forcetypeassert)
	return id.(PublicKey), nil
	       ^

Check failure on line 47 in crypto/ed25519/seed.go

See this annotation in the file changed.

@github-actions github-actions / golangci-crypto

[golangci-crypto] crypto/ed25519/seed.go#L47

type assertion must be checked (forcetypeassert)
Raw output
ed25519/seed.go:47:2: type assertion must be checked (forcetypeassert)
	publicKey := privateKey.Public().(ed25519.PublicKey)
	^

Check failure on line 23 in crypto/ed25519/signature.go

See this annotation in the file changed.

@github-actions github-actions / golangci-crypto

[golangci-crypto] crypto/ed25519/signature.go#L23

type assertion must be checked (forcetypeassert)
Raw output
ed25519/signature.go:23:9: type assertion must be checked (forcetypeassert)
	return id.(Signature), nil
	       ^