Skip to content

Commit

Permalink
chore(readme): change to actions-rust-lang/setup-rust-toolchain (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
clechasseur authored Jun 26, 2024
1 parent 7d03b26 commit b4ba968
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: clechasseur/rs-cargo@v2
with:
command: build
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo build --release --all-features
```

Expand All @@ -74,7 +74,7 @@ Why would you want to use this Action instead?
By default this Action will call whatever `cargo` binary is available
in the current [virtual environment](https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions).

You can use [`dtolnay/rust-toolchain`](https://github.com/dtolnay/rust-toolchain)
You can use [`actions-rust-lang/setup-rust-toolchain`](https://github.com/actions-rust-lang/setup-rust-toolchain)
to install a specific Rust toolchain with `cargo` included.

## Cross-compilation
Expand All @@ -98,7 +98,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
targets: armv7-unknown-linux-gnueabihf
- uses: clechasseur/rs-cargo@v2
Expand Down

0 comments on commit b4ba968

Please sign in to comment.