Skip to content

Commit 9fd6a8d

Browse files
authored
Update resolc in ci to use a path (#233)
1 parent 0d5e80f commit 9fd6a8d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/actions/run-differential-tests/action.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ inputs:
1818
required: false
1919
default: "main"
2020
type: string
21-
resolc-download-url:
22-
description: "The URL to use to download the resolc compiler."
21+
resolc-path:
22+
description: "The path of the resolc compiler."
2323
required: true
2424
type: string
2525
use-compilation-caches:
@@ -59,13 +59,6 @@ runs:
5959
ref: ${{ inputs['revive-differential-tests-ref'] }}
6060
path: revive-differential-tests
6161
submodules: recursive
62-
- name: Installing the Latest Resolc
63-
shell: bash
64-
run: |
65-
ASSET_URL="${{ inputs['resolc-download-url'] }}"
66-
curl -Lsf --show-error -o resolc "$ASSET_URL"
67-
chmod +x resolc
68-
./resolc --version
6962
- name: Installing Retester
7063
shell: bash
7164
run: ${{ inputs['cargo-command'] }} install --locked --path revive-differential-tests/crates/core
@@ -120,7 +113,7 @@ runs:
120113
--revive-dev-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/revive-dev-node \
121114
--eth-rpc.path ${{ inputs['polkadot-sdk-path'] }}/target/release/eth-rpc \
122115
--polkadot-omni-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/polkadot-omni-node \
123-
--resolc.path ./resolc \
116+
--resolc.path ${{ inputs['resolc-path'] }} \
124117
--resolc.heap-size 500000 \
125118
"${OMNI_ARGS[@]}" || true
126119
- name: Generate the expectation file

0 commit comments

Comments
 (0)