test: use correct matrix syntax
Some checks failed
/ test (map[name:stable]) (push) Failing after 3s
/ test (map[name:nightly]) (push) Failing after 4s

This commit is contained in:
Paul Campbell 2024-09-16 17:25:07 +01:00
parent 5fc345c0de
commit a594b4b091

View file

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