Skip to content

Disable staticcheck in golangci and add explicit staticcheck on different platforms with merge. #1142

Disable staticcheck in golangci and add explicit staticcheck on different platforms with merge.

Disable staticcheck in golangci and add explicit staticcheck on different platforms with merge. #1142

Triggered via pull request July 11, 2024 15:26
Status Failure
Total duration 5m 16s
Artifacts 3

golangci-lint.yml

on: pull_request
Matrix: Run staticcheck CI
lint-pr-changes
15s
lint-pr-changes
Output Staticcheck findings
26s
Output Staticcheck findings
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 7 warnings
lint-pr-changes
golangci-lint exit with code 3
Output Staticcheck findings
should not use dot imports (ST1001)
Output Staticcheck findings
should not use dot imports (ST1001)
Output Staticcheck findings
should not use dot imports (ST1001)
Output Staticcheck findings
should not use dot imports (ST1001)
Output Staticcheck findings
should use make([]*Credential, count) instead (S1019)
Output Staticcheck findings
"io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (SA1019)
Output Staticcheck findings
should not use dot imports (ST1001)
Output Staticcheck findings
should not use dot imports (ST1001)
lint-pr-changes
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run staticcheck CI (ubuntu-latest, 1.19)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run staticcheck CI (windows-latest, 1.19)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run staticcheck CI (macOS-latest, 1.19)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Output Staticcheck findings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Output Staticcheck findings
The `set-output` 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/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "staticcheck-c8637ed88dae122e88b87de58d1a791a14f8c5cc-1.19-macOS-latest.bin", "staticcheck-c8637ed88dae122e88b87de58d1a791a14f8c5cc-1.19-ubuntu-latest.bin", "staticcheck-c8637ed88dae122e88b87de58d1a791a14f8c5cc-1.19-windows-latest.bin". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
staticcheck-c8637ed88dae122e88b87de58d1a791a14f8c5cc-1.19-macOS-latest.bin Expired
15.6 KB
staticcheck-c8637ed88dae122e88b87de58d1a791a14f8c5cc-1.19-ubuntu-latest.bin Expired
15.7 KB
staticcheck-c8637ed88dae122e88b87de58d1a791a14f8c5cc-1.19-windows-latest.bin Expired
16.7 KB