test: use correct matrix syntax (take 2)

This commit is contained in:
Paul Campbell 2024-09-17 07:23:52 +01:00
parent 66110dd358
commit 2b7c56e4e8

View file

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