Skip to content

Bump golangci/golangci-lint-action from 2 to 5 #108

Bump golangci/golangci-lint-action from 2 to 5

Bump golangci/golangci-lint-action from 2 to 5 #108

Triggered via pull request April 25, 2024 08:44
Status Failure
Total duration 1m 48s
Artifacts

build.yaml

on: pull_request
Build & cache Go code
7s
Build & cache Go code
Check Go code
8s
Check Go code
Lint Go code
1m 5s
Lint Go code
Run unit tests with -race
1m 23s
Run unit tests with -race
Process & analyze test artifacts
0s
Process & analyze test artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
Lint Go code: pkg/dialect/mssql/mssql.go#L31
"time" imported but not used (typecheck)
Lint Go code: pkg/engine/dialect_mysql.go#L204
missing return (typecheck)
Lint Go code: pkg/engine/dialect.go#L24
"database/sql" imported but not used (typecheck)
Lint Go code: pkg/engine/dialect_common.go#L29
"time" imported but not used (typecheck)
Lint Go code: pkg/engine/dialect_mysql.go#L30
"time" imported but not used (typecheck)
Lint Go code: pkg/engine/dialect_postgres.go#L24
"encoding/json" imported but not used (typecheck)
Lint Go code: pkg/engine/field.go#L24
"database/sql" imported but not used (typecheck)
Lint Go code: pkg/engine/field.go#L25
"database/sql/driver" imported but not used (typecheck)
Lint Go code: pkg/engine/model_struct.go#L24
"database/sql" imported but not used (typecheck)
Lint Go code: pkg/engine/utils.go#L24
"database/sql/driver" imported but not used (typecheck)
Run unit tests
Process completed with exit code 1.
Run unit tests with -race
Process completed with exit code 1.
Build & cache Go code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build & cache Go code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check Go code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Go code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint Go code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Go code
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run unit tests with -race
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run unit tests with -race
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/