From da4975fde5b599db4ee1b52345929cea791fcd29 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 ++++++++-------- entrypoint.sh | 2 +- 2 files changed, 9 insertions(+), 9 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 diff --git a/entrypoint.sh b/entrypoint.sh index de787ef..2a467d5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e - +set | grep INPUT_ARGS echo "INPUT_ARGS: ${INPUT_ARGS}" # split input into an array