Skip to content

Commit

Permalink
Change rust-toolchain to rust-toolchain.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Oct 18, 2023
1 parent aba4d07 commit 07ea451
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: rustfmt, clippy
run: |
rustup show
rustup component add rustfmt clippy
- name: Code format check
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -165,12 +165,9 @@ jobs:
esac
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.job.target }}
override: true
profile: minimal
run: |
rustup show
rustup target add ${{ matrix.job.target }}
- name: zenoh-plugin-dds > Build
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -344,7 +341,7 @@ jobs:
ssh-add -D
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
run: rustup show
- name: Publish to crates.io
shell: bash
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
run: sudo apt-get -y install libacl1-dev

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: rustfmt, clippy
run: |
rustup show
rustup component add rustfmt clippy
- name: Code format check
uses: actions-rs/cargo@v1
Expand Down
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.72.0"

0 comments on commit 07ea451

Please sign in to comment.