Skip to content

Commit 358e921

Browse files
committed
update solc CI install step
1 parent 90fe5d5 commit 358e921

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ jobs:
1717
uses: dtolnay/rust-toolchain@stable
1818
with:
1919
components: rustfmt, clippy
20+
- name: Install solc
21+
run: |
22+
SOLC_VERSION=0.8.26
23+
curl -L https://github.com/ethereum/solidity/releases/download/v${SOLC_VERSION}/solc-static-linux \
24+
-o solc
25+
chmod +x solc
26+
sudo mv solc /usr/local/bin/solc
2027
- name: Run formatting check
2128
run: cargo fmt --check
22-
- name: Install solc
23-
run: sudo apt-get update && sudo apt-get install -y solc
2429
- name: Run clippy
2530
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
2631
- name: Run tests

0 commit comments

Comments
 (0)