Skip to content

test: add unit tests on post / put methods #27

test: add unit tests on post / put methods

test: add unit tests on post / put methods #27

Triggered via push May 11, 2025 12:39
Status Success
Total duration 41s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci-lint: internal/utils/types.go#L285
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#L478
Error return value of `w.Write` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L438
Error return value of `fmt.Fprintf` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L428
Error return value of `fmt.Fprintf` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L407
Error return value of `fmt.Fprintf` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L368
Error return value of `w.Write` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L341
Error return value of `fmt.Fprint` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L319
Error return value of `fmt.Fprint` is not checked (errcheck)
golangci-lint: internal/mirroring/helper_test.go#L313
Error return value of `fmt.Fprint` is not checked (errcheck)
gotestsum
Restore cache failed: Dependencies file is not found in /home/runner/work/gitlab-sync/gitlab-sync. Supported file pattern: go.sum
golangci-lint
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