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