| 1 | name: rctree |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | env: |
| 6 | CARGO_TERM_COLOR: always |
| 7 | |
| 8 | jobs: |
| 9 | build: |
| 10 | runs-on: ubuntu-latest |
| 11 | strategy: |
| 12 | matrix: |
| 13 | rust: |
| 14 | - 1.22.0 |
| 15 | - stable |
| 16 | steps: |
| 17 | - name: Checkout |
| 18 | uses: actions/checkout@v2 |
| 19 | |
| 20 | - name: Install toolchain |
| 21 | uses: actions-rs/toolchain@v1 |
| 22 | with: |
| 23 | profile: minimal |
| 24 | toolchain: ${{ matrix.rust }} |
| 25 | override: true |
| 26 | |
| 27 | - name: Test |
| 28 | run: cargo test |