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