Various updates and enhancements #10
code-scan.yml
on: pull_request
Lint
/
GolangCI-Lint
34s
Analyze
/
Semgrep
20s
Analyze
/
Codecov
56s
Analyze
/
Sonar
1m 39s
Annotations
13 errors
Lint / GolangCI-Lint
Command failed: cp /home/runner/work/_temp/d3eb85a5-c776-4319-b505-b2d1b420ac15/agent /home/agent/agent
cp: cannot create regular file '/home/agent/agent': Text file busy
|
Lint / GolangCI-Lint:
commitment.go#L171
cognitive complexity 21 of func `(*Configuration).ValidateCommitmentList` is high (> 16) (gocognit)
|
Lint / GolangCI-Lint:
internal/lambda.go#L64
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint / GolangCI-Lint:
internal/lambda.go#L33
Comment should end in a period (godot)
|
Lint / GolangCI-Lint:
commitment.go#L41
Comment should end in a period (godot)
|
Lint / GolangCI-Lint:
commitment.go#L138
Comment should end in a period (godot)
|
Lint / GolangCI-Lint:
commitment.go#L170
Comment should end in a period (godot)
|
Lint / GolangCI-Lint:
commitment.go#L243
Comment should end in a period (godot)
|
Lint / GolangCI-Lint:
encoding.go#L48
G602: slice index out of range (gosec)
|
Lint / GolangCI-Lint:
encoding.go#L196
G115: integer overflow conversion int -> uint16 (gosec)
|
Lint / GolangCI-Lint:
encoding.go#L197
G115: integer overflow conversion int -> uint16 (gosec)
|
Analyze / Codecov
Command failed: cp /home/runner/work/_temp/856825cd-6057-4bb9-bfae-42edfd04caab/agent /home/agent/agent
cp: cannot create regular file '/home/agent/agent': Text file busy
|
Analyze / Codecov
Command failed: cp /home/runner/work/_temp/6bf2e17b-4a78-426d-a26b-7fd226adea86/agent /home/agent/agent
cp: cannot create regular file '/home/agent/agent': Text file busy
|