Skip to content

Commit

Permalink
fix(.github): use dtolnay toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Oct 25, 2023
1 parent c4297d9 commit 22e2241
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,10 @@ jobs:
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1

- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
# Note that this does not test the `protobuf` feature (for now). See reasoning in https://github.com/prometheus/client_rust/pull/98/.
args: --release --target=${{ matrix.target }}

# Note that this does not test the `protobuf` feature (for now). See reasoning in https://github.com/prometheus/client_rust/pull/98/.
- run: cargo check --package libp2p --all-features --target=${{ matrix.target }}

0 comments on commit 22e2241

Please sign in to comment.