test: verify matrix with stable and nightly
All checks were successful
/ test (nightly) (push) Successful in 4s
/ test (stable) (push) Successful in 4s

This commit is contained in:
Paul Campbell 2024-09-16 17:19:17 +01:00
parent dbe6a60417
commit 5fc345c0de

View file

@ -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