Skip to content

Generate rust toolchain file #1401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Oct 25, 2022
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
toolchain: stable
profile: minimal
override: true
components: clippy

- name: Build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
default: true
override: true
profile: minimal
components: clippy

Expand Down Expand Up @@ -100,6 +101,7 @@ jobs:
toolchain: ${{ matrix.rust }}
profile: minimal
default: true
override: true
target: x86_64-unknown-linux-musl

- name: Setup MUSL
Expand Down Expand Up @@ -127,6 +129,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt

- run: cargo fmt -- --check
Expand Down Expand Up @@ -170,4 +173,4 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: release-notes.txt
path: ./release-notes.txt
path: ./release-notes.txt
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
profile = "default"