CI: Use MSRV for build job

This commit is contained in:
Jonas Platte 2020-12-30 13:56:26 +01:00
parent 2dbb21fb93
commit f48ec3e0e9
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -12,16 +12,23 @@ jobs:
steps:
- uses: actions/checkout@v2
# Use MSRV for the build job
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.32
default: true
profile: minimal
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
# Use stable for other jobs
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal
components: rustfmt, clippy
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
- name: Run tests
uses: actions-rs/cargo@v1
with: