2021-06-17 19:43:22 +02:00

33 lines
742 B
YAML

name: Rust 1.50
on:
push:
branches: [main, next]
pull_request:
branches: [main, next]
jobs:
check_msrv:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install rust 1.50 toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: '1.50'
# Used to compile xtask
- name: Install rust stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run checks
uses: actions-rs/cargo@v1
with:
command: run
args: -p xtask --no-default-features ci msrv