summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRukai <rubickent@gmail.com>2021-05-08 13:48:47 +1000
committerRukai <rubickent@gmail.com>2021-05-09 12:46:48 +1000
commit854022dbee4e37846ba554179182d679322dccd0 (patch)
tree4456222262ef81b6e1f5725ef9667cc7a58919cc /.github/workflows
parent76f737bb0e62146cecba618a34e9efc8c91fb3c3 (diff)
downloadembassy-854022dbee4e37846ba554179182d679322dccd0.zip
Use rust-toolchain.toml for developers and CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rust.yml9
1 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index d7b427e0..8613f7e0 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -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