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