rust/.forgejo/workflows/test.yml
Paul Campbell 5fc345c0de
All checks were successful
/ test (nightly) (push) Successful in 4s
/ test (stable) (push) Successful in 4s
test: verify matrix with stable and nightly
2024-09-16 17:19:34 +01:00

30 lines
655 B
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
strategy:
matrix:
toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v4
- name: Test ${{ toolchain}}
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: ${{toolchain}} cargo test
- name: Build ${{ toolchain }}
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: ${{ toolchain }} cargo build
- name: Run ${{ toolchain }}
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: ${{ toolchain }} cargo run