Skip to content

SA1029: flag when using empty anonymous struct #737

SA1029: flag when using empty anonymous struct

SA1029: flag when using empty anonymous struct #737

Triggered via pull request June 1, 2024 19:27
Status Success
Total duration 7m 16s
Artifacts 3

ci.yml

on: pull_request
Matrix: Run CI
Output Staticcheck findings
21s
Output Staticcheck findings
Fit to window
Zoom out
Zoom in

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 (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 (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=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 (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 (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/.
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/.
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-6bf63d7fc87b1a56822b0066d00dccf9547f8fca-1.22.x-macOS-latest.bin", "staticcheck-6bf63d7fc87b1a56822b0066d00dccf9547f8fca-1.22.x-ubuntu-latest.bin", "staticcheck-6bf63d7fc87b1a56822b0066d00dccf9547f8fca-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-6bf63d7fc87b1a56822b0066d00dccf9547f8fca-1.22.x-macOS-latest.bin Expired
39.6 KB
staticcheck-6bf63d7fc87b1a56822b0066d00dccf9547f8fca-1.22.x-ubuntu-latest.bin Expired
38.3 KB
staticcheck-6bf63d7fc87b1a56822b0066d00dccf9547f8fca-1.22.x-windows-latest.bin Expired
41.5 KB