Skip to content

Commit 7942e12

Browse files
authored
feat: allow users to configure max cache bytes (#91)
1 parent 64f56a8 commit 7942e12

16 files changed

Lines changed: 3508 additions & 2543 deletions

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- uses: pnpm/action-setup@v4
1414
with:
15-
version: 8.15.9
15+
version: 10.33.0
1616

1717
- uses: bufbuild/buf-setup-action@v1
1818
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: pnpm/action-setup@v4
2020
with:
21-
version: 8.15.9
21+
version: 10.33.0
2222

2323
- uses: bufbuild/buf-setup-action@v1
2424
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup pnpm
5454
uses: pnpm/action-setup@v4
5555
with:
56-
version: 8.15.9
56+
version: 10.33.0
5757

5858
- name: Setup buf
5959
uses: bufbuild/buf-setup-action@v1

.github/workflows/test-action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup pnpm
1818
uses: pnpm/action-setup@v4
1919
with:
20-
version: 8.15.9
20+
version: 10.33.0
2121

2222
- name: Setup Node.js
2323
uses: actions/setup-node@v4
@@ -71,7 +71,7 @@ jobs:
7171
- name: Setup pnpm
7272
uses: pnpm/action-setup@v4
7373
with:
74-
version: 8.15.9
74+
version: 10.33.0
7575

7676
- name: Setup Node.js
7777
uses: actions/setup-node@v4

.github/workflows/verify-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup pnpm
2424
uses: pnpm/action-setup@v4
2525
with:
26-
version: 8.15.9
26+
version: 10.33.0
2727

2828
- uses: bufbuild/buf-setup-action@v1
2929
with:

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ inputs:
3232
max-parallelism:
3333
description: "Maximum number of concurrent BuildKit RUN steps. Defaults to the number of vCPUs on the runner."
3434
required: false
35+
cache-keep-storage:
36+
description: "Amount of build cache to retain after pruning, in MB (e.g., 409600 for 400GB). If not set, pruning is skipped."
37+
required: false
3538
runs:
3639
using: node24
3740
main: dist/index.js

dist/index.js

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/licenses.txt

Lines changed: 279 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)