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