Skip to content

Add some CI

Add some CI #2

Triggered via pull request August 23, 2023 19:00
Status Failure
Total duration 1m 8s
Artifacts

fmt.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint: main.go#L43
Error return value of `doctor.DoCheckUp` is not checked (errcheck)
lint: pkg/checkup/deployments.go#L44
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
lint: pkg/checkup/events.go#L25
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
lint: pkg/checkup/events.go#L36
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
lint: pkg/checkup/pods.go#L50
S1024: should use time.Until instead of t.Sub(time.Now()) (gosimple)
lint: pkg/checkup/pods.go#L80
S1024: should use time.Until instead of t.Sub(time.Now()) (gosimple)
lint: pkg/log/log.go#L52
S1038: should use infoLogger.Printf(...) instead of infoLogger.Println(fmt.Sprintf(...)) (gosimple)
lint: pkg/log/log.go#L56
S1038: should use infoLogger.Fatalf(...) instead of infoLogger.Fatalln(fmt.Sprintf(...)) (gosimple)
lint
issues found