Skip to content

feat(ci): add build and lint workflow #1

feat(ci): add build and lint workflow

feat(ci): add build and lint workflow #1

Triggered via push February 3, 2024 04:52
Status Failure
Total duration 46s
Artifacts

build-cli.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
build: cmd/create.go#L27
func `readBody` is unused (unused)
build: internal/api/api.go#L238
ineffectual assignment to err (ineffassign)
build: internal/api/api.go#L246
ineffectual assignment to err (ineffassign)
build
issues found
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, 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/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/