Skip to content

Commit e5acee1

Browse files
authoredOct 25, 2022
Generate rust toolchain file (gitui-org#1401)
* Generate rust toolchain file * Make track "stable" channel * CD workflow override rust toolchain file
1 parent fa2ad81 commit e5acee1

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed
 

‎.github/workflows/cd.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
with:
2626
toolchain: stable
2727
profile: minimal
28+
override: true
2829
components: clippy
2930

3031
- name: Build

‎.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
with:
4646
toolchain: ${{ matrix.rust }}
4747
default: true
48+
override: true
4849
profile: minimal
4950
components: clippy
5051

@@ -100,6 +101,7 @@ jobs:
100101
toolchain: ${{ matrix.rust }}
101102
profile: minimal
102103
default: true
104+
override: true
103105
target: x86_64-unknown-linux-musl
104106

105107
- name: Setup MUSL
@@ -127,6 +129,7 @@ jobs:
127129
uses: actions-rs/toolchain@v1
128130
with:
129131
toolchain: stable
132+
override: true
130133
components: rustfmt
131134

132135
- run: cargo fmt -- --check
@@ -170,4 +173,4 @@ jobs:
170173
- uses: actions/upload-artifact@v1
171174
with:
172175
name: release-notes.txt
173-
path: ./release-notes.txt
176+
path: ./release-notes.txt

‎rust-toolchain.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[toolchain]
2+
channel = "stable"
3+
profile = "default"

0 commit comments

Comments
 (0)
Please sign in to comment.