Skip to content

Commit a63504b

Browse files
authored
CI Caching (#201)
Closes #142 Closes #112 (other failures seem irrelevant)
1 parent ab1b2cb commit a63504b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
submodules: true
2020
- uses: dtolnay/rust-toolchain@stable
2121
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
22+
with:
23+
workspaces: |
24+
starknet-foundry
25+
cairo
2226
- uses: software-mansion/[email protected]
2327
with:
2428
scarb-version: ${{ env.SCARB_VERSION }}
@@ -37,6 +41,9 @@ jobs:
3741
with:
3842
toolchain: stable
3943
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
44+
with:
45+
workspaces: |
46+
starknet-foundry
4047
- uses: actions/setup-python@v4
4148
with:
4249
python-version: '3.9'
@@ -66,6 +73,10 @@ jobs:
6673
with:
6774
toolchain: stable
6875
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
76+
with:
77+
workspaces: |
78+
starknet-foundry
79+
cairo
6980
- name: Check forge formatting
7081
run: cargo fmt --manifest-path ./starknet-foundry/Cargo.toml --check -p forge
7182
- name: Check cast formatting
@@ -88,5 +99,9 @@ jobs:
8899
with:
89100
toolchain: stable
90101
- uses: Swatinem/rust-cache@dd05243424bd5c0e585e4b55eb2d7615cdd32f1f
102+
with:
103+
workspaces: |
104+
starknet-foundry
105+
cairo
91106
- run: cargo lint
92107
working-directory: ./starknet-foundry

0 commit comments

Comments
 (0)