30 lines
624 B
YAML
30 lines
624 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
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
|
with:
|
|
args: cargo run
|