Skip to content

add linter

add linter #23

Triggered via push May 25, 2024 09:45
Status Failure
Total duration 1m 2s
Billable time 2m
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
lint: internal/app/server/app.go#L22
undeclared name: `chi` (typecheck)
lint: internal/app/server/app.go#L53
undeclared name: `chi` (typecheck)
lint: internal/app/server/app.go#L10
"github.com/go-chi/chi/v5" imported but not used (typecheck)
lint: internal/pkg/info/info.go#L11
undeclared name: `any` (typecheck)
lint: internal/pkg/info/info.go#L12
undeclared name: `any` (typecheck)
lint: internal/pkg/info/info_test.go#L25
undeclared name: `any` (typecheck)
lint
issues found
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/