Skip to content

simple/s1009: add checks for redundant "x == nil || len(x) < N" #793

simple/s1009: add checks for redundant "x == nil || len(x) < N"

simple/s1009: add checks for redundant "x == nil || len(x) < N" #793

Triggered via push October 24, 2024 12:32
Status Success
Total duration 6m 34s
Artifacts 3

ci.yml

on: push
Matrix: Run CI
Output Staticcheck findings
22s
Output Staticcheck findings
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
Run CI (macOS-latest, 1.23.x, gotypesalias=1)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 CI (macOS-latest, 1.23.x, gotypesalias=0)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 CI (ubuntu-latest, 1.23.x, gotypesalias=1)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 CI (ubuntu-latest, 1.23.x, gotypesalias=0)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 CI (windows-latest, 1.23.x, gotypesalias=1)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 CI (windows-latest, 1.23.x, gotypesalias=0)
The following actions use a deprecated Node.js version and will be forced to run on node20: 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 use a deprecated Node.js version 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-d3c15ecffc4be9456792e9726a186d48b945a938-1.23.x-macOS-latest.bin", "staticcheck-d3c15ecffc4be9456792e9726a186d48b945a938-1.23.x-ubuntu-latest.bin", "staticcheck-d3c15ecffc4be9456792e9726a186d48b945a938-1.23.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-d3c15ecffc4be9456792e9726a186d48b945a938-1.23.x-macOS-latest.bin Expired
40.5 KB
staticcheck-d3c15ecffc4be9456792e9726a186d48b945a938-1.23.x-ubuntu-latest.bin Expired
39.1 KB
staticcheck-d3c15ecffc4be9456792e9726a186d48b945a938-1.23.x-windows-latest.bin Expired
42.3 KB