From 2b7c56e4e8dc8b498f190c3cc221bd4141855a66 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 17 Sep 2024 07:23:52 +0100 Subject: [PATCH] test: use correct matrix syntax (take 2) --- .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 7e5c12b..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 ${{ matrix.toolchain }} + - name: Test ${{ matrix.toolchain.name }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{ matrix.toolchain }} cargo test + args: ${{ matrix.toolchain.name }} cargo test - - name: Build ${{ matrix.toolchain }} + - name: Build ${{ matrix.toolchain.name }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{ matrix.toolchain }} cargo build + args: ${{ matrix.toolchain.name }} cargo build - - name: Run ${{ matrix.toolchain }} + - name: Run ${{ matrix.toolchain.name }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{ matrix.toolchain }} cargo run + args: ${{ matrix.toolchain.name }} cargo run