1name: CI 2 3on: 4 push: 5 branches: ['master'] 6 pull_request: 7 8jobs: 9 Test: 10 strategy: 11 matrix: 12 os: [ubuntu-latest] 13 rust: [1.36.0, stable, beta, nightly] 14 runs-on: ${{ matrix.os }} 15 steps: 16 - uses: actions/checkout@v2 17 - uses: actions-rs/toolchain@v1 18 with: 19 profile: minimal 20 toolchain: ${{ matrix.rust }} 21 override: true 22 - uses: actions-rs/cargo@v1 23 with: 24 command: build 25 args: --all-targets 26 - uses: actions-rs/cargo@v1 27 with: 28 command: test 29 - uses: actions-rs/cargo@v1 30 with: 31 command: test 32 args: --features "serde" 33 - uses: actions-rs/cargo@v1 34 with: 35 command: test 36 args: --no-default-features 37