Skip to content

Added linting and caching of dependencies #8

Added linting and caching of dependencies

Added linting and caching of dependencies #8

Triggered via push August 14, 2024 00:27
Status Failure
Total duration 2m 54s
Artifacts

workflow.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
test
Cannot open: File exists
lint: pkg/common/helpers.go#L39
Error return value of `w.Write` is not checked (errcheck)
lint: internal/book/handler.go#L70
Error return value of `common.WriteJSON` is not checked (errcheck)
lint: internal/book/handler.go#L113
Error return value of `common.WriteJSON` is not checked (errcheck)
lint: internal/book/handler.go#L180
Error return value of `common.WriteJSON` is not checked (errcheck)
lint
issues found
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, 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/