mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
ci: Add build tool to workflow (#453)
Fixes [this](https://github.com/paritytech/revive/actions/runs/21000852574/job/60370115169) and [this](https://github.com/paritytech/revive/actions/runs/21008888013/job/60398447550) failed runs.
This commit is contained in:
1 file changed
+12
-5
@@ -28,21 +28,28 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout Commit Before Changes
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.ref_before }}
|
||||||
|
|
||||||
- name: Set Up Rust Toolchain
|
- name: Set Up Rust Toolchain
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
with:
|
||||||
# Without this it will override our rust flags.
|
# Without this it will override our rust flags.
|
||||||
rustflags: ""
|
rustflags: ""
|
||||||
|
|
||||||
|
- name: Install Node.js
|
||||||
|
uses: actions/setup-node@v6
|
||||||
|
with:
|
||||||
|
node-version: 'lts/*'
|
||||||
|
|
||||||
- name: Install Benchmarking Tools
|
- name: Install Benchmarking Tools
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y build-essential
|
||||||
cargo install critcmp
|
cargo install critcmp
|
||||||
|
|
||||||
- name: Checkout Commit Before Changes
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: ${{ inputs.ref_before }}
|
|
||||||
|
|
||||||
- name: Install Solc
|
- name: Install Solc
|
||||||
uses: ./.github/actions/get-solc
|
uses: ./.github/actions/get-solc
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user