diff --git a/.forgejo/workflows/push-next.yml b/.forgejo/workflows/push-next.yml index 74c280e..78a0123 100644 --- a/.forgejo/workflows/push-next.yml +++ b/.forgejo/workflows/push-next.yml @@ -12,27 +12,30 @@ env: jobs: build: runs-on: docker + strategy: + matrix: + version: [stable, nightly] steps: - name: Checkout uses: actions/checkout@v4 - - name: Format - uses: https://git.kemitix.net/kemitix/rust@v1.81.0 + - name: Format ${{ matrix.version }} + uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: - args: cargo fmt --all -- --check + args: cargo +${{ matrix.version }} fmt --all -- --check - - name: Clippy - uses: https://git.kemitix.net/kemitix/rust@v1.81.0 + - name: Clippy ${{ matrix.version }} + uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: - args: cargo hack --feature-powerset clippy + args: cargo +${{ matrix.version }} hack --feature-powerset clippy - - name: Build - uses: https://git.kemitix.net/kemitix/rust@v1.81.0 + - name: Build ${{ matrix.version }} + uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: - args: cargo hack --feature-powerset build + args: cargo +${{ matrix.version }} hack --feature-powerset build - - name: Test - uses: https://git.kemitix.net/kemitix/rust@v1.81.0 + - name: Test ${{ matrix.version }} + uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1 with: - args: cargo hack --feature-powerset test + args: cargo +${{ matrix.version }} hack --feature-powerset test