Skip to content

Add lint to workflow & fix lint #31

Add lint to workflow & fix lint

Add lint to workflow & fix lint #31

Triggered via pull request May 23, 2024 05:57
@SegueIISegueII
synchronize #333
fix-lint
Status Failure
Total duration 1m 52s
Artifacts

deployer.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
check
Error return value of `f.Close` is not checked (errcheck)
check
string `bool` has 3 occurrences, make it a constant (goconst)
check
string `string` has 6 occurrences, make it a constant (goconst)
check
cyclomatic complexity 31 of func `BuildL2` is high (> 30) (gocyclo)
check
G302: Expect file permissions to be 0600 or less (gosec)
check
G304: Potential file inclusion via variable (gosec)
check
unnecessary conversion (unconvert)
check
Process completed with exit code 2.
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check
Restore cache failed: Dependencies file is not found in /home/runner/work/morph/morph. Supported file pattern: go.sum
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Restore cache failed: Dependencies file is not found in /home/runner/work/morph/morph. Supported file pattern: go.sum