diff options
| author | Rukai <[email protected]> | 2021-05-08 13:48:47 +1000 |
|---|---|---|
| committer | Rukai <[email protected]> | 2021-05-09 12:46:48 +1000 |
| commit | 854022dbee4e37846ba554179182d679322dccd0 (patch) | |
| tree | 4456222262ef81b6e1f5725ef9667cc7a58919cc /.github/workflows | |
| parent | 76f737bb0e62146cecba618a34e9efc8c91fb3c3 (diff) | |
Use rust-toolchain.toml for developers and CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust.yml | 9 |
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 |
