Skip to content

Temp disable complex checks #7

Temp disable complex checks

Temp disable complex checks #7

Triggered via push September 4, 2024 09:35
Status Failure
Total duration 34s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build
ifElseChain: rewrite if-else to switch statement (gocritic)
build
regexpMust: for const patterns like "\"(.*)\"", use regexp.MustCompile (gocritic)
build
ifElseChain: rewrite if-else to switch statement (gocritic)
build
Comment should end in a period (godot)
build
G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec)
build
G306: Expect WriteFile permissions to be 0600 or less (gosec)
build
G401: Use of weak cryptographic primitive (gosec)
build
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
build
var-naming: don't use underscores in Go names; func parameter dir_path should be dirPath (revive)
build
var-naming: don't use underscores in Go names; func parameter source_dir_path should be sourceDirPath (revive)
build
Restore cache failed: Dependencies file is not found in /home/runner/work/embed-code/embed-code. Supported file pattern: go.sum