Skip to content

Commit 0350509

Browse files
committed
CI: fix hardhat-plugin version patch to handle any 0.4.x
1 parent 843c03d commit 0350509

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
node-version: "20"
6565
cache: "npm"
6666
- run: npm ci --legacy-peer-deps
67-
- name: Patch hardhat-plugin version check (0.4.0 → 0.4.2)
67+
- name: Patch hardhat-plugin version check
6868
run: |
6969
find node_modules/@fhevm/hardhat-plugin -name "constants.ts" -o -name "constants.js" | while read f; do
70-
sed -i 's/version: "0\.4\.0"/version: "0.4.2"/' "$f"
70+
sed -i 's/version: "0\.4\.[0-9]*"/version: "0.4.2"/' "$f"
7171
echo "Patched: $f"
7272
done
7373
- run: npx hardhat test

0 commit comments

Comments
 (0)