aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-05-10 00:33:32 +0200
committerGitHub <[email protected]>2021-05-10 00:33:32 +0200
commit1703700970a716bf9b0044ee3d8cd3e15a50fcc2 (patch)
treec0883d68ef6838332c8a9ffcae7ec8ad93c435d8 /.github
parent632572d1cb29ab6badb87c74a95c120b4238f7c6 (diff)
parent854022dbee4e37846ba554179182d679322dccd0 (diff)
Merge pull request #167 from rukai/use_rust_toolchain_toml
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