test: use correct matrix syntax

This commit is contained in:
Paul Campbell 2024-09-16 17:25:07 +01:00
parent 8ed47f60ff
commit 2d24913a04

View file

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