Skip to content

Refactor cache-control #28160

Refactor cache-control

Refactor cache-control #28160

Triggered via pull request March 12, 2025 10:36
Status Failure
Total duration 7m 9s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors
lint-go-windows
Process completed with exit code 2.
lint-go-windows: modules/httplib/serve_test.go#L79
cannot use seekReader (variable of type *os.File) as *ServeHeaderOptions value in argument to ServeContentByReadSeeker (typecheck)
lint-go-windows: modules/httplib/serve_test.go#L79
cannot use "test" (untyped string constant) as *time.Time value in argument to ServeContentByReadSeeker
lint-go-windows: modules/httplib/serve_test.go#L30
cannot use reader (variable of type *"strings".Reader) as *ServeHeaderOptions value in argument to ServeContentByReader
lint-go-windows: modules/httplib/serve_test.go#L30
cannot use int64(len(data)) (value of type int64) as io.Reader value in argument to ServeContentByReader: int64 does not implement io.Reader (missing method Read)
lint-go-windows: modules/httplib/serve_test.go#L30
cannot use "test" (untyped string constant) as int64 value in argument to ServeContentByReader
lint-backend
Process completed with exit code 2.
lint-backend: modules/httplib/serve_test.go#L79
cannot use seekReader (variable of type *os.File) as *ServeHeaderOptions value in argument to ServeContentByReadSeeker (typecheck)
lint-backend: modules/httplib/serve_test.go#L79
cannot use "test" (untyped string constant) as *time.Time value in argument to ServeContentByReadSeeker
lint-backend: modules/httplib/serve_test.go#L30
cannot use reader (variable of type *"strings".Reader) as *ServeHeaderOptions value in argument to ServeContentByReader
lint-backend: modules/httplib/serve_test.go#L30
cannot use int64(len(data)) (value of type int64) as io.Reader value in argument to ServeContentByReader: int64 does not implement io.Reader (missing method Read)
lint-backend: modules/httplib/serve_test.go#L30
cannot use "test" (untyped string constant) as int64 value in argument to ServeContentByReader
lint-go-gogit
Process completed with exit code 2.
lint-go-gogit: modules/httplib/serve_test.go#L79
cannot use seekReader (variable of type *os.File) as *ServeHeaderOptions value in argument to ServeContentByReadSeeker (typecheck)
lint-go-gogit: modules/httplib/serve_test.go#L79
cannot use "test" (untyped string constant) as *time.Time value in argument to ServeContentByReadSeeker
lint-go-gogit: modules/httplib/serve_test.go#L30
cannot use reader (variable of type *"strings".Reader) as *ServeHeaderOptions value in argument to ServeContentByReader
lint-go-gogit: modules/httplib/serve_test.go#L30
cannot use int64(len(data)) (value of type int64) as io.Reader value in argument to ServeContentByReader: int64 does not implement io.Reader (missing method Read)
lint-go-gogit: modules/httplib/serve_test.go#L30
cannot use "test" (untyped string constant) as int64 value in argument to ServeContentByReader