Skip to content

feat: Add optional caching to rest server #8

feat: Add optional caching to rest server

feat: Add optional caching to rest server #8

Triggered via push November 5, 2023 18:39
Status Failure
Total duration 53s
Artifacts

build-test.yaml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
golangci: internal/adapters/fileredirect/yaml.go#L38
undefined: yaml (typecheck)
golangci: internal/adapters/rest/middleware/cache_interceptor.go#L63
Error return value of `ch.cacher.Set` is not checked (errcheck)
golangci: internal/adapters/rest/middleware/proxy_response_writer_test.go#L25
Error return value of `proxyWriter.Write` is not checked (errcheck)
golangci: internal/adapters/rest/middleware/cache_interceptor.go#L74
S1023: redundant `return` statement (gosimple)
golangci: internal/adapters/rest/server.go#L84
SA1016: os.Kill cannot be trapped (did you mean syscall.SIGTERM?) (staticcheck)
golangci
issues found
Build (1.21.0, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build (1.21.0, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/dexus/dexus. Supported file pattern: go.sum