Add first msrv workflow
This commit is contained in:
parent
77079d77cb
commit
9b48ae3263
1 changed files with 19 additions and 0 deletions
19
github/workflows/msrv.yml
Normal file
19
github/workflows/msrv.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
name: Minimum Supported Rust Version
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: 1.48.0 # nom 7
|
||||
override: true
|
||||
- uses: actions/checkout@v2
|
||||
- name: cargo +1.48.0 check
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
Loading…
Add table
Reference in a new issue