Skip to content

Commit 954996e

Browse files
authored
Merge pull request #20 from WalletConnect/fix/rust_cache_prefixes
fix: forward rust-cache-prefix and rust-cache-save inputs to ci-check-app
2 parents 9644e9e + 18af6b9 commit 954996e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ on:
9797
description: 'The run label to use for the actions'
9898
type: string
9999
default: 'ubuntu-latest'
100+
rust-cache-prefix:
101+
description: 'Prefix for Rust cache key (bump to invalidate all caches)'
102+
type: string
103+
default: 'v0-rust'
104+
rust-cache-save:
105+
description: 'Whether to save the Rust cache (set to false for PRs to only restore from main)'
106+
type: boolean
107+
default: true
100108
secrets:
101109
TF_API_TOKEN:
102110
required: true
@@ -124,6 +132,8 @@ jobs:
124132
use-postgresql: ${{ inputs.rust-use-postgresql }}
125133
test-env-vars: ${{ inputs.rust-test-env-vars }}
126134
run-label: ${{ inputs.run-label }}
135+
rust-cache-prefix: ${{ inputs.rust-cache-prefix }}
136+
rust-cache-save: ${{ inputs.rust-cache-save }}
127137

128138
check-infra:
129139
name: Check Infra

0 commit comments

Comments
 (0)