Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Fix Rust nightly version to un-break CI, minor docs tweaks (no need t…
Browse files Browse the repository at this point in the history
…o install compiler manually, we have toolchain file for that) (paritytech#294)
  • Loading branch information
nazar-pc authored Mar 24, 2022
2 parents 99ecf82 + 6686672 commit b6815ae
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: actions-rs/toolchain@v1
# TODO: Below can be removed when https://github.com/actions-rs/toolchain/issues/126 is resolved
with:
toolchain: nightly
toolchain: nightly-2022-02-15
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
uses: actions-rs/toolchain@v1
# TODO: Below can be removed when https://github.com/actions-rs/toolchain/issues/126 is resolved
with:
toolchain: nightly
toolchain: nightly-2022-02-15
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
uses: actions-rs/toolchain@v1
# TODO: Below can be removed when https://github.com/actions-rs/toolchain/issues/126 is resolved
with:
toolchain: nightly
toolchain: nightly-2022-02-15
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: nightly-2022-02-15
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
uses: actions-rs/toolchain@v1
# TODO: Below can be removed when https://github.com/actions-rs/toolchain/issues/126 is resolved
with:
toolchain: nightly
toolchain: nightly-2022-02-15
target: wasm32-unknown-unknown
override: true

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-farmer
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04

ARG RUSTC_VERSION=nightly
ARG RUSTC_VERSION=nightly-2022-02-15

WORKDIR /code

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-node
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04

ARG RUSTC_VERSION=nightly
ARG RUSTC_VERSION=nightly-2022-02-15

WORKDIR /code

Expand Down
7 changes: 1 addition & 6 deletions crates/subspace-farmer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ sudo apt-get install llvm clang

Then install the framer using Cargo:
```
cargo +nightly install subspace-farmer
```

NOTE: Above command requires nightly compiler for now, make sure to install it if you don't have one yet:
```
rustup toolchain install nightly
cargo install subspace-farmer
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly"
channel = "nightly-2022-02-15"
targets = ["wasm32-unknown-unknown"]
profile = "default"

0 comments on commit b6815ae

Please sign in to comment.