Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove toolchain: input so that rust-toolchain file will be used #823

Merged
merged 4 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ jobs:
if: github.event_name == 'workflow_dispatch'

vivekvpandya marked this conversation as resolved.
Show resolved Hide resolved
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
default: true
override: true
profile: minimal
components: rustfmt, clippy
run: rustup show

- name: Cache dependencies
uses: Swatinem/rust-cache@v1
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ jobs:
uses: actions/checkout@v2

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
default: true
override: true
profile: minimal
components: rustfmt, clippy
run: rustup show

- run: ./scripts/runtime-upgrade/test_runtime_upgrade.sh ${{ github.event.inputs.block }}
27 changes: 3 additions & 24 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@ jobs:
uses: actions/checkout@v2

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
default: true
override: true
profile: minimal
components: rustfmt
run: rustup show

- uses: actions-rs/install@v0.1
with:
Expand All @@ -50,14 +43,7 @@ jobs:
uses: actions/checkout@v2

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
default: true
override: true
profile: minimal
components: rustfmt, clippy
run: rustup show

- name: Cache Dependencies
uses: Swatinem/rust-cache@v1
Expand All @@ -73,14 +59,7 @@ jobs:
uses: actions/checkout@v2

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
default: true
override: true
profile: minimal
components: rustfmt, clippy
run: rustup show

- uses: actions-rs/install@v0.1
with:
Expand Down