on: push: branches: [main] pull_request: name: cargo test jobs: test: runs-on: ubuntu-latest name: ubuntu / ${{ matrix.toolchain }} strategy: matrix: toolchain: [stable, beta, nightly] steps: - uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ matrix.toolchain }} - uses: actions/checkout@v3 with: submodules: true - name: cargo test uses: actions-rs/cargo@v1 with: command: test args: --all-features --all-targets