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: strategy:
matrix: matrix:
toolchain: toolchain:
- stable - name: stable
- nightly - name: nightly
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Test ${{ matrix.toolchain }} - name: Test ${{ matrix.toolchain.name }}
uses: https://git.kemitix.net/kemitix/rust@next uses: https://git.kemitix.net/kemitix/rust@next
with: 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 uses: https://git.kemitix.net/kemitix/rust@next
with: 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 uses: https://git.kemitix.net/kemitix/rust@next
with: with:
args: ${{ matrix.toolchain }} cargo run args: ${{ matrix.toolchain.name }} cargo run