diff --git a/.forgejo/workflows/push-next.yml b/.forgejo/workflows/push-next.yml index 894505b..e7d0ae5 100644 --- a/.forgejo/workflows/push-next.yml +++ b/.forgejo/workflows/push-next.yml @@ -13,6 +13,12 @@ jobs: build: runs-on: docker + strategy: + matrix: + toolchain: + - name: stable + - name: nightly + steps: - name: Checkout uses: actions/checkout@v4 @@ -20,7 +26,7 @@ jobs: - name: Format uses: https://git.kemitix.net/kemitix/rust@v2.0.4 with: - args: cargo fmt --all -- --check + args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check # - name: Machete # uses: https://github.com/bnjbvr/cargo-machete@v0.6.2 @@ -28,17 +34,17 @@ jobs: - name: Clippy uses: https://git.kemitix.net/kemitix/rust@v2.0.4 with: - args: cargo clippy + args: ${{ matrix.toolchain.name }} cargo clippy - name: Build uses: https://git.kemitix.net/kemitix/rust@v2.0.4 with: - args: cargo build + args: ${{ matrix.toolchain.name }} cargo build - name: Test uses: https://git.kemitix.net/kemitix/rust@v2.0.4 with: - args: cargo test --no-fail-fast + args: ${{ matrix.toolchain.name }} cargo test --no-fail-fast - name: Integration uses: https://git.kemitix.net/kemitix/rust@v2.0.4