Skip to content

PR #656 check (112412224e74fafa81d1304a0f4475af8f425eed) #1987

PR #656 check (112412224e74fafa81d1304a0f4475af8f425eed)

PR #656 check (112412224e74fafa81d1304a0f4475af8f425eed) #1987

Triggered via pull request June 25, 2024 11:11
Status Failure
Total duration 2m 18s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 4 warnings
static-checks: pkg/controlplane/control/dns.go#L42
if-return: redundant if ...; err != nil check, just return error instead. (revive)
static-checks: pkg/controlplane/control/dns.go#L69
`if ok` has complex nested blocks (complexity: 11) (nestif)
static-checks: pkg/controlplane/control/dns.go#L104
ST1023: should omit type string from declaration; it will be inferred from the right-hand side (stylecheck)
static-checks: pkg/controlplane/control/dns.go#L104
var-declaration: should drop = "" from declaration of var newLines; it is the zero value (revive)
static-checks: pkg/controlplane/control/dns.go#L125
Comment should end in a period (godot)
static-checks: pkg/controlplane/control/dns.go#L140
`if ok` has complex nested blocks (complexity: 7) (nestif)
static-checks: pkg/controlplane/control/dns.go#L159
ST1023: should omit type string from declaration; it will be inferred from the right-hand side (stylecheck)
static-checks: pkg/controlplane/control/dns.go#L159
var-declaration: should drop = "" from declaration of var newLines; it is the zero value (revive)
static-checks
issues found
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Cannot open: File exists
static-checks
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
static-checks
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
static-checks
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
static-checks
Unexpected input(s) 'skip-pkg-cache', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']