Skip to content

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

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. #1127

Status Success
Total duration 2m 57s
Artifacts 3

golangci-lint.yml

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

Annotations

8 errors and 7 warnings
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)
Run staticcheck CI (ubuntu-latest, 1.19)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-pr-changes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, 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/.
Run staticcheck CI (windows-latest, 1.19)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run staticcheck CI (macOS-latest, 1.19)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Output Staticcheck findings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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-b191211079072a8c1a46881378cc6a9b61fcf909-1.19-macOS-latest.bin", "staticcheck-b191211079072a8c1a46881378cc6a9b61fcf909-1.19-ubuntu-latest.bin", "staticcheck-b191211079072a8c1a46881378cc6a9b61fcf909-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-b191211079072a8c1a46881378cc6a9b61fcf909-1.19-macOS-latest.bin Expired
15.6 KB
staticcheck-b191211079072a8c1a46881378cc6a9b61fcf909-1.19-ubuntu-latest.bin Expired
15.7 KB
staticcheck-b191211079072a8c1a46881378cc6a9b61fcf909-1.19-windows-latest.bin Expired
16.7 KB