Skip to content

fix(deps): update module github.com/stretchr/testify to v1.10.0 #160

fix(deps): update module github.com/stretchr/testify to v1.10.0

fix(deps): update module github.com/stretchr/testify to v1.10.0 #160

Triggered via pull request November 23, 2024 13:47
Status Failure
Total duration 2m 52s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
golangci-lint: pkg/zyxel/client.go#L111
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
golangci-lint: pkg/units/units.go#L6
the methods of "Mbps" use pointer receiver and non-pointer receiver. (recvcheck)
golangci-lint: pkg/units/helpers_test.go#L20
float-compare: use assert.InEpsilon (or InDelta) (testifylint)
golangci-lint: pkg/units/helpers_test.go#L19
require-error: for error assertions use require (testifylint)
golangci-lint: pkg/zyxel/units_test.go#L21
float-compare: use assert.InEpsilon (or InDelta) (testifylint)
golangci-lint: pkg/zyxel/vdsl_status_test.go#L20
float-compare: use assert.InEpsilon (or InDelta) (testifylint)
golangci-lint: pkg/zyxel/client_test.go#L40
require-error: for error assertions use require (testifylint)
golangci-lint: pkg/zyxel/client_test.go#L43
require-error: for error assertions use require (testifylint)
golangci-lint
issues found
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/dslmodem_exporter/dslmodem_exporter. Supported file pattern: go.sum