Require Rust 1.41 (was 1.40)

This is required for Result::map_or_else.

Additionally, run clippy with 1.41 as well. Otherwise it reports
suggestions that are not compatible with 1.41.
This commit is contained in:
Danilo Bargen 2021-02-05 00:01:33 +01:00
commit cb57ac1d5d
3 changed files with 2 additions and 4 deletions

View file

@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
rust: [1.40.0, stable]
rust: [1.41.1, stable]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.46.0
toolchain: 1.41.1
components: clippy
override: true
- uses: actions-rs/clippy-check@v1