From 314d3046ad864a81667fc635c71a361e430ee786 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 | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 956657a..54079b4 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 uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{toolchain}} cargo test + args: ${{ matrix.toolchain.name }} cargo test - - name: Build ${{ toolchain }} + - name: Build uses: https://git.kemitix.net/kemitix/rust@next with: - args: ${{ toolchain }} cargo build + args: ${{ matrix.toolchain.name }} cargo build - - name: Run ${{ toolchain }} + - name: Run 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..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}"