name: Rust on: push: branches: ["next"] pull_request: branches: ["main"] env: CARGO_TERM_COLOR: always jobs: build: runs-on: docker strategy: matrix: version: [stable, nightly] steps: - name: Checkout uses: actions/checkout@v4 - name: Format ${{ matrix.version }} uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: args: cargo +${{ matrix.version }} fmt --all -- --check - name: Clippy ${{ matrix.version }} uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: args: cargo +${{ matrix.version }} hack --feature-powerset clippy - name: Build ${{ matrix.version }} uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: args: cargo +${{ matrix.version }} hack --feature-powerset build - name: Test ${{ matrix.version }} uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: args: cargo +${{ matrix.version }} hack --feature-powerset test