test: use correct matrix syntax
This commit is contained in:
parent
8ed47f60ff
commit
2d24913a04
1 changed files with 9 additions and 3 deletions
|
@ -5,20 +5,26 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
toolchain:
|
||||||
|
- name: stable
|
||||||
|
- name: nightly
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@next
|
||||||
with:
|
with:
|
||||||
args: cargo test
|
args: ${{ matrix.toolchain.name }} cargo test
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@next
|
||||||
with:
|
with:
|
||||||
args: cargo build
|
args: ${{ matrix.toolchain.name }} cargo build
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
uses: https://git.kemitix.net/kemitix/rust@next
|
uses: https://git.kemitix.net/kemitix/rust@next
|
||||||
with:
|
with:
|
||||||
args: cargo run
|
args: ${{ matrix.toolchain.name }} cargo run
|
||||||
|
|
Loading…
Reference in a new issue