30 lines
655 B
YAML
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
|