blob: 419cc67056f535e694fbf4645793a85e574c98e8 [file] [log] [blame]
name: CI
on:
push:
branches: ['master']
pull_request:
jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest]
rust: [1.36.0, stable, beta, nightly]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions-rs/cargo@v1
with:
command: test
args: --features "serde"
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features