runner/act/artifactcache
Earl Warren 6c4e705f97
chore: cache: split caches implementation out of handler
- create the caches interface and matching cachesImpl
- move the cache logic out of handler
  - openDB
  - readCache
  - useCache
  - gcCache
  - access to the storage struct
    - serve
    - commit
    - exist
    - write
- add getCaches / setCaches to the handler interface so it can be
  used by tests. The caches test should be implemented independently
  in the future but this is a different kind of cleanup.
- no functional change, minimal refactor
2025-09-05 17:30:08 +02:00
..
testdata/example Support cache (#1770) 2023-04-28 15:57:40 +00:00
caches.go chore: cache: split caches implementation out of handler 2025-09-05 17:30:08 +02:00
doc.go Support cache (#1770) 2023-04-28 15:57:40 +00:00
handler.go chore: cache: split caches implementation out of handler 2025-09-05 17:30:08 +02:00
handler_test.go chore: cache: split caches implementation out of handler 2025-09-05 17:30:08 +02:00
mac.go chore: cache: split caches implementation out of handler 2025-09-05 17:30:08 +02:00
mac_test.go chore: cache: split caches implementation out of handler 2025-09-05 17:30:08 +02:00
model.go fix: PRs cache artifacts separate from other runs 2025-09-01 13:45:43 +02:00
storage.go chore: use the same .golangci.yml as the runner & gofumpt over gofmt (#206) 2025-07-28 12:26:41 +00:00