test: add unit tests on get methods #24
Annotations
10 errors and 3 warnings
|
golangci-lint
issues found
|
|
golangci-lint:
internal/utils/types_test.go#L110
Error return value of `os.Remove` is not checked (errcheck)
|
|
golangci-lint:
internal/utils/types.go#L271
Error return value of `resp.Body.Close` is not checked (errcheck)
|
|
golangci-lint:
internal/utils/types.go#L120
Error return value of `file.Close` is not checked (errcheck)
|
|
golangci-lint:
internal/mirroring/helper_test.go#L254
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
|
golangci-lint:
internal/mirroring/helper_test.go#L244
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
|
golangci-lint:
internal/mirroring/helper_test.go#L223
Error return value of `fmt.Fprintf` is not checked (errcheck)
|
|
golangci-lint:
internal/mirroring/helper_test.go#L174
Error return value of `fmt.Fprint` is not checked (errcheck)
|
|
golangci-lint:
internal/mirroring/helper_test.go#L150
Error return value of `fmt.Fprint` is not checked (errcheck)
|
|
golangci-lint:
internal/mirroring/helper_test.go#L144
Error return value of `fmt.Fprint` is not checked (errcheck)
|
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gitlab-sync/gitlab-sync. Supported file pattern: go.sum
|
|
gotestsum
Restore cache failed: Dependencies file is not found in /home/runner/work/gitlab-sync/gitlab-sync. Supported file pattern: go.sum
|
|
gosec
Restore cache failed: Dependencies file is not found in /home/runner/work/gitlab-sync/gitlab-sync. Supported file pattern: go.sum
|