Skip to content

Add golangci-lint

Add golangci-lint #923

Triggered via pull request June 13, 2024 01:08
Status Failure
Total duration 23s
Artifacts

ci.yml

on: pull_request
paths-filter
2s
paths-filter
Check license headers
8s
Check license headers
Test (Test Framework)
0s
Test (Test Framework)
Lint (Test Framework)
4s
Lint (Test Framework)
Test (Lint)
0s
Test (Lint)
Lint (Lint)
3s
Lint (Lint)
Test (Language Server)
0s
Test (Language Server)
Lint (Language Server)
3s
Lint (Language Server)
Test (Docgen)
0s
Test (Docgen)
Lint (Docgen)
2s
Lint (Docgen)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Lint (Language Server)
Failed to run: Error: working-directory (languageserver) was not a path, Error: working-directory (languageserver) was not a path at runLint (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89345:19) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:53 at Object.<anonymous> (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2056:28) at Generator.next (<anonymous>) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1807:71 at new Promise (<anonymous>) at __webpack_modules__.2186.__awaiter (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1803:12) at Object.group (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2052:12) at run (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Lint (Language Server)
working-directory (languageserver) was not a path
Lint (Docgen)
Failed to run: Error: working-directory (docgen) was not a path, Error: working-directory (docgen) was not a path at runLint (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89345:19) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:53 at Object.<anonymous> (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2056:28) at Generator.next (<anonymous>) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1807:71 at new Promise (<anonymous>) at __webpack_modules__.2186.__awaiter (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1803:12) at Object.group (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2052:12) at run (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Lint (Docgen)
working-directory (docgen) was not a path
Lint (Lint)
Failed to run: Error: working-directory (lint) was not a path, Error: working-directory (lint) was not a path at runLint (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89345:19) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:53 at Object.<anonymous> (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2056:28) at Generator.next (<anonymous>) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1807:71 at new Promise (<anonymous>) at __webpack_modules__.2186.__awaiter (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1803:12) at Object.group (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2052:12) at run (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Lint (Lint)
working-directory (lint) was not a path
Lint (Test Framework)
Failed to run: Error: working-directory (test) was not a path, Error: working-directory (test) was not a path at runLint (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89345:19) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:53 at Object.<anonymous> (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2056:28) at Generator.next (<anonymous>) at /home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1807:71 at new Promise (<anonymous>) at __webpack_modules__.2186.__awaiter (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:1803:12) at Object.group (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:2052:12) at run (/home/runner/work/_actions/golangci/golangci-lint-action/v6/dist/run/index.js:89377:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Lint (Test Framework)
working-directory (test) was not a path
paths-filter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, dorny/paths-filter@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check license headers
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check license headers
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/