Skip to content

[-] updated GH workflow to include golangci-lint #5

[-] updated GH workflow to include golangci-lint

[-] updated GH workflow to include golangci-lint #5

Triggered via push October 5, 2024 15:40
Status Failure
Total duration 49s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: currency_test.go#L341
Error return value is not checked (errcheck)
build: currency_test.go#L347
Error return value is not checked (errcheck)
build: currency_test.go#L353
Error return value is not checked (errcheck)
build: operations_test.go#L52
Error return value of `cur1.Add` is not checked (errcheck)
build: operations_test.go#L91
Error return value of `cur1.Add` is not checked (errcheck)
build: operations_test.go#L131
Error return value of `cur1.Add` is not checked (errcheck)
build: operations_test.go#L203
Error return value of `cur1.Subtract` is not checked (errcheck)
build: operations_test.go#L243
Error return value of `cur1.Subtract` is not checked (errcheck)
build: operations_test.go#L519
Error return value of `cur1.Subtract` is not checked (errcheck)
build: currency_test.go#L367
unusedresult: result of (*github.com/naughtygopher/currency/v2.Currency).String call not used (govet)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
Restore cache failed: Dependencies file is not found in /home/runner/work/currency/currency. Supported file pattern: go.sum