Add first minial workflow

This commit is contained in:
Jon Gjengset 2022-09-17 12:35:09 -07:00
parent bf66d94f15
commit c65a7c4f87

View file

@ -0,0 +1,31 @@
on:
push:
branches: [master]
pull_request:
name: With dependencies at minimal versions
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v2
with:
submodules: true
- name: cargo update -Zminimal-versions
uses: actions-rs/cargo@v1
with:
command: update
toolchain: nightly
args: -Zminimal-versions
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets