From c080c3a0b0e36c3a880bec019ee0c03d90005e6d 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 | 22 +++++++++++----------- entrypoint.sh | 3 ++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 956657a..dca64a8 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}} - uses: https://git.kemitix.net/kemitix/rust@next + - name: Test + uses: https://git.kemitix.net/kemitix/rust@ceac8a8fc5 with: - args: ${{toolchain}} cargo test + args: ${{ matrix.toolchain.name }} cargo test - - name: Build ${{ toolchain }} - uses: https://git.kemitix.net/kemitix/rust@next + - name: Build + uses: https://git.kemitix.net/kemitix/rust@ceac8a8fc5 with: - args: ${{ toolchain }} cargo build + args: ${{ matrix.toolchain.name }} cargo build - - name: Run ${{ toolchain }} - uses: https://git.kemitix.net/kemitix/rust@next + - name: Run + uses: https://git.kemitix.net/kemitix/rust@ceac8a8fc5 with: - args: ${{ toolchain }} cargo run + args: ${{ matrix.toolchain.name }} cargo run diff --git a/entrypoint.sh b/entrypoint.sh index de787ef..ef9fd91 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash - +echo "Environment:" +set set -e echo "INPUT_ARGS: ${INPUT_ARGS}"