mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 00:48:35 +00:00
Generate rust toolchain file (#1401)
* Generate rust toolchain file * Make track "stable" channel * CD workflow override rust toolchain file
This commit is contained in:
parent
fa2ad81bec
commit
e5acee1a0c
3 changed files with 8 additions and 1 deletions
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
|
|
@ -25,6 +25,7 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
override: true
|
||||
components: clippy
|
||||
|
||||
- name: Build
|
||||
|
|
|
|||
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -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
3
rust-toolchain.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "stable"
|
||||
profile = "default"
|
||||
Loading…
Reference in a new issue