Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Bump codecov/codecov-action from 3.1.4 to 4.1.0 #223

Bump codecov/codecov-action from 3.1.4 to 4.1.0

Bump codecov/codecov-action from 3.1.4 to 4.1.0 #223

Triggered via push February 27, 2024 02:28
Status Failure
Total duration 31s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
lint: log.go#L37
emptyStringTest: replace `len(l.logger.prefix) > 0` with `l.logger.prefix != ""` (gocritic)
lint: log.go#L120
emptyStringTest: replace `len(l.logger.prefix) > 0` with `l.logger.prefix != ""` (gocritic)
lint: alog_json_mocks_test.go#L83
emptyStringTest: replace `len(err) > 0` with `err != ""` (gocritic)
lint: alog_json_mocks_test.go#L78
emptyStringTest: replace `len(pfix) > 0` with `pfix != ""` (gocritic)
lint: doc.go#L20
File is not `gofmt`-ed with `-s` (gofmt)
lint: doc.go#L22
File is not `goimports`-ed with -local github.com/golangci/golangci-lint (goimports)
lint: alog_json_mocks_test.go#L8
import 'github.com/google/go-cmp/cmp' is not allowed from list 'Main' (depguard)
lint: alog_json_mocks_test.go#L9
import 'github.com/google/go-cmp/cmp/cmpopts' is not allowed from list 'Main' (depguard)
lint
issues found
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/.
lint: alog_json_mocks_test.go#L66
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)