Skip to content

Commit

Permalink
Generate rust toolchain file (#1401)
Browse files Browse the repository at this point in the history
* Generate rust toolchain file
* Make track "stable" channel
* CD workflow override rust toolchain file
  • Loading branch information
SergioRibera authored Oct 25, 2022
1 parent fa2ad81 commit e5acee1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
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"

0 comments on commit e5acee1

Please sign in to comment.