SA1006: flag more functions #721
ci.yml
on: pull_request
Matrix: Run CI
Output Staticcheck findings
26s
Annotations
1 error and 9 warnings
Output Staticcheck findings
rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (SA1019)
|
Run CI (ubuntu-latest, 1.22.x, gotypesalias=1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 CI (macOS-latest, 1.22.x, gotypesalias=0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 CI (ubuntu-latest, 1.22.x, gotypesalias=0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 CI (macOS-latest, 1.22.x, gotypesalias=1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 CI (windows-latest, 1.22.x, gotypesalias=0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 CI (windows-latest, 1.22.x, gotypesalias=1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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-92e98e41a958ab22e033a64359e299c1d62369ee-1.22.x-macOS-latest.bin", "staticcheck-92e98e41a958ab22e033a64359e299c1d62369ee-1.22.x-ubuntu-latest.bin", "staticcheck-92e98e41a958ab22e033a64359e299c1d62369ee-1.22.x-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-92e98e41a958ab22e033a64359e299c1d62369ee-1.22.x-macOS-latest.bin
Expired
|
39.6 KB |
|
staticcheck-92e98e41a958ab22e033a64359e299c1d62369ee-1.22.x-ubuntu-latest.bin
Expired
|
38.3 KB |
|
staticcheck-92e98e41a958ab22e033a64359e299c1d62369ee-1.22.x-windows-latest.bin
Expired
|
41.5 KB |
|