| 1 | name: Rust 1.35 |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [main] |
| 6 | pull_request: |
| 7 | branches: [main] |
| 8 | |
| 9 | jobs: |
| 10 | check: |
| 11 | name: Check |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - uses: actions/checkout@v2 |
| 15 | - uses: actions-rs/toolchain@v1 |
| 16 | with: |
| 17 | toolchain: '1.35' |
| 18 | profile: minimal |
| 19 | override: true |
| 20 | - name: Check (no default features) |
| 21 | uses: actions-rs/cargo@v1 |
| 22 | with: |
| 23 | command: check |
| 24 | args: --no-default-features |
| 25 | - name: Check (default features) |
| 26 | uses: actions-rs/cargo@v1 |
| 27 | with: |
| 28 | command: check |
| 29 | - name: Check (serde) |
| 30 | uses: actions-rs/cargo@v1 |
| 31 | with: |
| 32 | command: check |
| 33 | args: --features serde |
| 34 | - name: Check (float_deserialize) |
| 35 | uses: actions-rs/cargo@v1 |
| 36 | with: |
| 37 | command: check |
| 38 | args: --features float_deserialize |
| 39 | - name: Check (all features) |
| 40 | uses: actions-rs/cargo@v1 |
| 41 | with: |
| 42 | command: check |
| 43 | args: --all-features |