Skip to content

Linter PR 3: enable additional linters #456

Linter PR 3: enable additional linters

Linter PR 3: enable additional linters #456

Triggered via pull request January 2, 2025 18:44
Status Failure
Total duration 18s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/api/lib.go#L86
Error return value of `cache.lockfile.Close` is not checked (errcheck)
lint: lib_libwasmvm_test.go#L42
Error return value of `os.RemoveAll` is not checked (errcheck)
lint: internal/api/lib.go#L76
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L93
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L104
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L115
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L126
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L137
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L148
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint: internal/api/lib.go#L159
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636