aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRukai <[email protected]>2021-05-08 13:48:47 +1000
committerBob McWhirter <[email protected]>2021-05-10 09:56:35 -0400
commitb937461336c4546124ed649b7989cced860d8ea8 (patch)
tree091772a0aac773b15a6d3f307e7aa6bcf5545925 /.github
parentac616a6dcf8db6a018acd38fa9ab30b4b7d409f2 (diff)
Use rust-toolchain.toml for developers and CI
Diffstat (limited to '.github')
-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 d7b427e04..8613f7e0d 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -71,10 +71,7 @@ jobs:
71 - uses: actions/checkout@v2 71 - uses: actions/checkout@v2
72 - uses: actions-rs/toolchain@v1 72 - uses: actions-rs/toolchain@v1
73 with: 73 with:
74 toolchain: nightly 74 toolchain: stable
75 target: ${{ matrix.target }}
76 components: rust-src, rustfmt
77 override: true
78 - name: cache 75 - name: cache
79 id: cache-target 76 id: cache-target
80 uses: actions/cache@v2 77 uses: actions/cache@v2
@@ -90,8 +87,6 @@ jobs:
90 - uses: actions/checkout@v2 87 - uses: actions/checkout@v2
91 - uses: actions-rs/toolchain@v1 88 - uses: actions-rs/toolchain@v1
92 with: 89 with:
93 toolchain: nightly 90 toolchain: stable
94 components: rustfmt
95 override: true
96 - name: Check fmt 91 - name: Check fmt
97 run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done 92 run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done