2024-08-11 07:15:31 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- next
|
2024-05-16 18:52:20 +01:00
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
2024-09-16 16:18:49 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
toolchain:
|
|
|
|
- stable
|
|
|
|
- nightly
|
|
|
|
|
2024-05-16 18:52:20 +01:00
|
|
|
steps:
|
2024-05-16 19:53:35 +01:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
2024-09-16 16:18:49 +01:00
|
|
|
- name: Test ${{ toolchain }}
|
2024-08-11 07:15:31 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
2024-05-16 18:52:20 +01:00
|
|
|
with:
|
2024-09-16 16:18:49 +01:00
|
|
|
args: ${{ toolchain }} cargo test
|
2024-05-16 19:54:56 +01:00
|
|
|
|
2024-09-16 16:18:49 +01:00
|
|
|
- name: Build ${{ toolchain }}
|
2024-08-11 07:15:31 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
2024-05-16 19:47:20 +01:00
|
|
|
with:
|
2024-09-16 16:18:49 +01:00
|
|
|
args: ${{ toolchain }} cargo build
|
2024-05-16 19:54:56 +01:00
|
|
|
|
|
|
|
- name: Run
|
2024-08-11 07:15:31 +01:00
|
|
|
uses: https://git.kemitix.net/kemitix/rust@next
|
2024-05-16 19:54:56 +01:00
|
|
|
with:
|
2024-08-11 07:15:31 +01:00
|
|
|
args: cargo run
|