Add lint to workflow & fix lint #36
Annotations
8 errors and 2 warnings
Lint
Error return value of `f.Close` is not checked (errcheck)
|
Lint
string `string` has 6 occurrences, make it a constant (goconst)
|
Lint
string `bool` has 3 occurrences, make it a constant (goconst)
|
Lint
cyclomatic complexity 31 of func `BuildL2` is high (> 30) (gocyclo)
|
Lint
G302: Expect file permissions to be 0600 or less (gosec)
|
Lint
G304: Potential file inclusion via variable (gosec)
|
Lint
unnecessary conversion (unconvert)
|
Lint
Process completed with exit code 2.
|
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/.
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/morph/morph. Supported file pattern: go.sum
|
Loading