Skip to content

Commit 5126491

Browse files
authored
Change github workflows rust toolchain version (#1414)
* Fix windows tests
1 parent ccfeee7 commit 5126491

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ jobs:
299299
- uses: actions/checkout@v4
300300
- uses: dtolnay/rust-toolchain@dc6353516c68da0f06325f42ad880f76a5e77ec9
301301
with:
302-
toolchain: stable
302+
toolchain: 1.79.0 # Doesn't work with "stable"
303303

304304
- name: Download contracts
305305
uses: actions/download-artifact@v3
@@ -435,7 +435,7 @@ jobs:
435435
- uses: actions/checkout@v4
436436
- uses: dtolnay/rust-toolchain@dc6353516c68da0f06325f42ad880f76a5e77ec9
437437
with:
438-
toolchain: stable
438+
toolchain: 1.79.0 # Doesn't work with "stable"
439439

440440
- name: Download contracts
441441
uses: actions/download-artifact@v3

starknet_py/tests/e2e/mock/compile_contracts.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ compile_contracts_v0() {
3939
CONTRACTS_DIRECTORY="$MOCK_DIRECTORY/contracts"
4040
CONTRACTS_COMPILED_DIRECTORY="$MOCK_DIRECTORY/contracts_compiled"
4141

42+
mkdir -p "$CONTRACTS_COMPILED_DIRECTORY"
43+
4244
# delete all artifacts except precompiled ones
4345
find "$CONTRACTS_COMPILED_DIRECTORY" -maxdepth 1 -type f -delete
4446

0 commit comments

Comments
 (0)