Skip to content

Commit 5394bfe

Browse files
committed
[ci] ♻️ set up cache for fountry en gihub tests
1 parent 407b4bd commit 5394bfe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

+10
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
BACKEND_EOA: ${{ secrets.BACKEND_EOA }}
1717
BACKEND_PK: ${{ secrets.BACKEND_PK }}
1818
NFT_BASE_URI: https://dev.back.chatterpay.net/nft/metadata/opensea/
19+
FOUNDRY_DISABLE_NIGHTLY_WARNING: 1
1920

2021
jobs:
2122
check:
@@ -29,6 +30,15 @@ jobs:
2930
with:
3031
submodules: recursive
3132

33+
- name: Set up cache for Foundry
34+
uses: actions/cache@v3
35+
with:
36+
path: |
37+
.forge-cache
38+
lib
39+
key: ${{ runner.os }}-forge-cache-${{ hashFiles('**/*.sol') }}
40+
restore-keys: |
41+
3242
- name: Initialize and update submodules
3343
run: |
3444
git submodule update --init --recursive

0 commit comments

Comments
 (0)