Use rust-toolchain.toml for developers and CI

This commit is contained in:
Rukai
2021-05-08 13:48:47 +10:00
committed by Bob McWhirter
parent ac616a6dcf
commit b937461336
2 changed files with 8 additions and 7 deletions

View File

@ -71,10 +71,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: ${{ matrix.target }}
components: rust-src, rustfmt
override: true
toolchain: stable
- name: cache
id: cache-target
uses: actions/cache@v2
@ -90,8 +87,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
toolchain: stable
- name: Check fmt
run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done