[PR #1770] [MERGED] Support cache #2118

Closed
opened 2026-03-01 21:54:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/1770
Author: @wolfogre
Created: 4/25/2023
Status: Merged
Merged: 4/28/2023
Merged by: @mergify[bot]

Base: masterHead: feature/cache


📝 Commits (10+)

📊 Changes

12 files changed (+1217 additions, -16 deletions)

View changed files

cmd/dir.go (+27 -0)
📝 cmd/input.go (+4 -0)
📝 cmd/notices.go (+1 -10)
📝 cmd/root.go (+18 -6)
📝 go.mod (+2 -0)
📝 go.sum (+6 -0)
pkg/artifactcache/doc.go (+8 -0)
pkg/artifactcache/handler.go (+488 -0)
pkg/artifactcache/handler_test.go (+469 -0)
pkg/artifactcache/model.go (+38 -0)
pkg/artifactcache/storage.go (+126 -0)
pkg/artifactcache/testdata/example/example.yaml (+30 -0)

📄 Description

Close #1652

Ported from act runner, but it's quite different now:

  • Use bolt db instead of sqlite.
  • Use httprouter instead of chi.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1770 **Author:** [@wolfogre](https://github.com/wolfogre) **Created:** 4/25/2023 **Status:** ✅ Merged **Merged:** 4/28/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `feature/cache` --- ### 📝 Commits (10+) - [`0c7e03f`](https://github.com/nektos/act/commit/0c7e03f86c8efe0957fcd1bf1a7de034bbfede52) feat: port - [`fbb8ac7`](https://github.com/nektos/act/commit/fbb8ac74d767f59f79617d3d7005e4a67cd5d08a) fix: use httprouter - [`62d8b16`](https://github.com/nektos/act/commit/62d8b1665c739bf278c78c76466ab0580a264d31) fix: WriteHeader - [`4b9e98a`](https://github.com/nektos/act/commit/4b9e98a74952f37e42bf07da9d8d4e92b2edc76f) fix: bolthold - [`3e7d169`](https://github.com/nektos/act/commit/3e7d169d3e22fe8a8554066001f31c7c8dad5e8c) fix: bugs - [`ae20b92`](https://github.com/nektos/act/commit/ae20b92a493b55d9046a10c91055dce5a49ab6e4) chore: one less file - [`bc08bce`](https://github.com/nektos/act/commit/bc08bcebfe26550ba6f4a451cd5e60add3638eda) test: test handler - [`36c22b2`](https://github.com/nektos/act/commit/36c22b20ce984fc5bca786047aa07bed9744c84c) fix: bug in id - [`fdeb375`](https://github.com/nektos/act/commit/fdeb37579f850a0abd2a6763906a8440c1df0836) test: fix cases - [`9960b53`](https://github.com/nektos/act/commit/9960b5365c9264d5c2fdaa4981312ddfc5f128d0) Merge branch 'master' into feature/cache ### 📊 Changes **12 files changed** (+1217 additions, -16 deletions) <details> <summary>View changed files</summary> ➕ `cmd/dir.go` (+27 -0) 📝 `cmd/input.go` (+4 -0) 📝 `cmd/notices.go` (+1 -10) 📝 `cmd/root.go` (+18 -6) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+6 -0) ➕ `pkg/artifactcache/doc.go` (+8 -0) ➕ `pkg/artifactcache/handler.go` (+488 -0) ➕ `pkg/artifactcache/handler_test.go` (+469 -0) ➕ `pkg/artifactcache/model.go` (+38 -0) ➕ `pkg/artifactcache/storage.go` (+126 -0) ➕ `pkg/artifactcache/testdata/example/example.yaml` (+30 -0) </details> ### 📄 Description Close #1652 Ported from [act runner](https://gitea.com/gitea/act_runner), but it's quite different now: - Use bolt db instead of sqlite. - Use httprouter instead of chi. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:54:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#2118
No description provided.