test: use correct matrix syntax
Some checks failed
/ test (map[name:nightly]) (push) Failing after 6s
/ test (map[name:stable]) (push) Failing after 7s

This commit is contained in:
Paul Campbell 2024-09-16 17:25:07 +01:00
parent 5fc345c0de
commit 314d3046ad
2 changed files with 10 additions and 9 deletions

View file

@ -8,23 +8,23 @@ jobs:
strategy: strategy:
matrix: matrix:
toolchain: toolchain:
- stable - name: stable
- nightly - name: nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Test ${{ toolchain}} - name: Test
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: ${{toolchain}} cargo test args: ${{ matrix.toolchain.name }} cargo test
- name: Build ${{ toolchain }} - name: Build
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: ${{ toolchain }} cargo build args: ${{ matrix.toolchain.name }} cargo build
- name: Run ${{ toolchain }} - name: Run
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: ${{ toolchain }} cargo run args: ${{ matrix.toolchain.name }} cargo run

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo "Environment:"
set
set -e set -e
echo "INPUT_ARGS: ${INPUT_ARGS}" echo "INPUT_ARGS: ${INPUT_ARGS}"