test: use correct matrix syntax
This commit is contained in:
parent
5fc345c0de
commit
c080c3a0b0
2 changed files with 13 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Environment:"
|
||||
set
|
||||
set -e
|
||||
|
||||
echo "INPUT_ARGS: ${INPUT_ARGS}"
|
||||
|
|
Loading…
Reference in a new issue