Generate rust toolchain file (#1401)

* Generate rust toolchain file
* Make track "stable" channel
* CD workflow override rust toolchain file
This commit is contained in:
Sergio Alejandro Ribera Costa 2022-10-25 03:17:37 -04:00 committed by GitHub
parent fa2ad81bec
commit e5acee1a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View file

@ -25,6 +25,7 @@ jobs:
with:
toolchain: stable
profile: minimal
override: true
components: clippy
- name: Build

View file

@ -45,6 +45,7 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
default: true
override: true
profile: minimal
components: clippy
@ -100,6 +101,7 @@ jobs:
toolchain: ${{ matrix.rust }}
profile: minimal
default: true
override: true
target: x86_64-unknown-linux-musl
- name: Setup MUSL
@ -127,6 +129,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- run: cargo fmt -- --check
@ -170,4 +173,4 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: release-notes.txt
path: ./release-notes.txt
path: ./release-notes.txt

3
rust-toolchain.toml Normal file
View file

@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
profile = "default"