Skip to content

Add more tools

Add more tools #3508

Triggered via pull request May 8, 2024 13:07
Status Failure
Total duration 8m 8s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
GolangCI-Lint: pkg/toolset/pwd_hash.go#L130
unnecessary leading newline (whitespace)
GolangCI-Lint: pkg/toolset/pwd_hash.go#L11
import 'github.com/pkg/errors' is not allowed from list 'main': Should be replaced with "github.com/iotaledger/hive.go/ierrors" package (depguard)
GolangCI-Lint: pkg/toolset/pwd_hash.go#L22
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"environment variable '%s' not set\", passwordEnvKey)" (err113)
GolangCI-Lint: pkg/toolset/pwd_hash.go#L26
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"environment variable '%s' not set\", passwordEnvKey)" (err113)
GolangCI-Lint: pkg/toolset/benchmark.go#L72
for loop can be changed to use an integer range (Go 1.22+) (intrange)
GolangCI-Lint: pkg/toolset/benchmark.go#L157
for loop can be changed to use an integer range (Go 1.22+) (intrange)
GolangCI-Lint
issues found
GolangCI-Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.