Skip to content

Commit 3b1129b

Browse files
authoredJun 26, 2023
fix(tests): force install solidity 0.8.19 through svm (#5221)
* fix(tests): force install 0.8.19 through svm * chore: use installed version * chore: also install 0.8.20
1 parent 7787e09 commit 3b1129b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎.github/workflows/test.yml

+13
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ jobs:
4747
with:
4848
name: ${{ matrix.archive.name }}
4949
path: ${{ matrix.archive.file }}
50+
install-svm-solc:
51+
name: install svm and solidity / ${{ matrix.job.name }}
52+
runs-on: ubuntu-latest
53+
timeout-minutes: 30
54+
steps:
55+
- name: Install svm
56+
run: cargo install svm-rs
57+
- name: Install Solidity 0.8.19
58+
run: svm install 0.8.19
59+
- name: Install Solidity 0.8.20
60+
run: svm install 0.8.20
61+
- name: Use Solidity 0.8.19
62+
run: svm use 0.8.19
5063

5164
unit:
5265
name: unit tests / ${{ matrix.job.name }}

1 commit comments

Comments
 (1)

wallkd commented on Apr 12, 2025

@wallkd

‎.github/workflows/test.yml

Please sign in to comment.