diff options
author | Sergio Alejandro Ribera Costa <56278796+SergioRibera@users.noreply.github.com> | 2022-10-25 03:17:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 09:17:37 +0200 |
commit | e5acee1a0c3399101b5aaef5208e98c30b01bde1 (patch) | |
tree | a9ce0cefc32c01065a103e0d8c2c3665fb33e939 | |
parent | fa2ad81bec5f7a37d611e2cdf6f1a57ba8af7274 (diff) |
Generate rust toolchain file (#1401)
* Generate rust toolchain file
* Make track "stable" channel
* CD workflow override rust toolchain file
-rw-r--r-- | .github/workflows/cd.yml | 1 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 5 | ||||
-rw-r--r-- | rust-toolchain.toml | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ce4db2b9..c4c91350 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -25,6 +25,7 @@ jobs: with: toolchain: stable profile: minimal + override: true components: clippy - name: Build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cd75812..6a38b505 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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
\ No newline at end of file + path: ./release-notes.txt diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..02cb8fcb --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "stable" +profile = "default" |