From a594b4b0911e35214b464e2f0f64477c77471d56 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 16 Sep 2024 17:25:07 +0100 Subject: [PATCH] test: use correct matrix syntax --- .forgejo/workflows/test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 956657a..26539b0 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -8,23 +8,23 @@ jobs: strategy: matrix: toolchain: - - stable - - nightly + - name: stable + - name: nightly steps: - uses: actions/checkout@v4 - - name: Test ${{ toolchain}} + - name: Test ${{ matrix.toolchain.name }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{toolchain}} cargo test + args: ${{ matrix.toolchain.name }} cargo test - - name: Build ${{ toolchain }} + - name: Build ${{ matrix.toolchain.name }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{ toolchain }} cargo build + args: ${{ matrix.toolchain.name }} cargo build - - name: Run ${{ toolchain }} + - name: Run ${{ matrix.toolchain.name }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{ toolchain }} cargo run + args: ${{ matrix.toolchain.name }} cargo run