name: CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
os:
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: actions/checkout@master
- name: minimum feature
run: |
cargo test --no-default-features
- name: all feature
run: |
cargo test
- name: nightly
run: |
cargo test --features nightly