test: use correct matrix syntax
This commit is contained in:
parent
5fc345c0de
commit
da4975fde5
2 changed files with 9 additions and 9 deletions
|
@ -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 ${{ matrix.toolchain.name }}
|
||||||
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 ${{ matrix.toolchain.name }}
|
||||||
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 ${{ matrix.toolchain.name }}
|
||||||
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
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
set | grep INPUT_ARGS
|
||||||
echo "INPUT_ARGS: ${INPUT_ARGS}"
|
echo "INPUT_ARGS: ${INPUT_ARGS}"
|
||||||
|
|
||||||
# split input into an array
|
# split input into an array
|
||||||
|
|
Loading…
Reference in a new issue