From 12679f36112357be17780a620fe859234db3c376 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 9 Sep 2024 08:31:55 +0100 Subject: [PATCH] build(push-next): run against stable and nightly --- .forgejo/workflows/push-next.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) 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