Various updates and enhancements #11
code-scan.yml
on: pull_request
Lint
/
GolangCI-Lint
24s
Analyze
/
Semgrep
15s
Analyze
/
Codecov
58s
Analyze
/
Sonar
1m 42s
Annotations
13 errors
Lint / GolangCI-Lint
Command failed: cp /home/runner/work/_temp/6035ea2b-0e05-4b57-9dd5-d4f83a7b3bc0/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#L55
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint / GolangCI-Lint:
internal/lambda.go#L24
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:
encoding.go#L196
G115: integer overflow conversion int -> uint16 (gosec)
|
Lint / GolangCI-Lint:
encoding.go#L197
G115: integer overflow conversion int -> uint16 (gosec)
|
Lint / GolangCI-Lint:
encoding.go#L198
G115: integer overflow conversion int -> uint16 (gosec)
|
Lint / GolangCI-Lint:
encoding.go#L48
G602: slice index out of range (gosec)
|
Analyze / Codecov
Command failed: cp /home/runner/work/_temp/9c8c3089-4753-4502-b5ec-0e8fec35280f/agent /home/agent/agent
cp: cannot create regular file '/home/agent/agent': Text file busy
|
Analyze / Codecov
Command failed: cp /home/runner/work/_temp/49739aff-6bda-4317-96f8-301749bee1bd/agent /home/agent/agent
cp: cannot create regular file '/home/agent/agent': Text file busy
|