Skip to content

Commit

Permalink
Add rust-toolchain.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
zjb0807 committed Oct 25, 2023
1 parent a47af6b commit f820c31
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ jobs:
submodules: recursive
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-09
components: rustfmt
target: wasm32-unknown-unknown
- name: Generate code coverage
run: |
wget https://github.com/xd009642/tarpaulin/releases/download/${{ env.TARPAULIN_VERSION }}/cargo-tarpaulin-${{ env.TARPAULIN_VERSION }}-travis.tar.gz
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/master.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-09
- name: Install cargo-unleash
run: cargo install cargo-unleash --git https://github.com/xlc/cargo-unleash.git # https://github.com/paritytech/cargo-unleash/pull/38
- name: Prepare
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ jobs:
- uses: actions/checkout@v3
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-09
components: rustfmt
target: wasm32-unknown-unknown
- name: Install Wasm toolchain
run: rustup target add wasm32-unknown-unknown
- name: Check format
Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "1.73.0"
components = ["rustfmt", "clippy"]
targets = ["wasm32-unknown-unknown"]

0 comments on commit f820c31

Please sign in to comment.