Skip to content

Add lint action.

Add lint action. #1

Triggered via push February 15, 2024 23:55
Status Failure
Total duration 1m 3s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: cmd/Chapter12/Activity12.01/main.go#L119
Error return value is not checked (errcheck)
lint: cmd/Chapter16/Activity16.02/main.go#L70
Error return value of `rs.Write` is not checked (errcheck)
lint: cmd/Chapter16/Activity16.02/main.go#L72
Error return value of `rs.Write` is not checked (errcheck)
lint: cmd/Chapter18/Activity18.01/a18.01.go#L103
Error return value is not checked (errcheck)
lint: cmd/Chapter18/Exercise18.02/main.go#L36
Error return value of `http.ListenAndServe` is not checked (errcheck)
lint: cmd/Chapter14/Exercise14.05/server/server.go#L16
Error return value of `w.Write` is not checked (errcheck)
lint: cmd/Chapter14/Exercise14.05/server/server.go#L24
Error return value of `w.Write` is not checked (errcheck)
lint: cmd/Chapter18/Exercise18.08/main.go#L24
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint: cmd/Chapter18/Exercise18.08/main.go#L25
Error return value of `ioutil.WriteFile` is not checked (errcheck)
lint: cmd/Chapter18/Exercise18.08/main.go#L31
Error return value of `ioutil.WriteFile` is not checked (errcheck)
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/.