rust/.forgejo/workflows/test.yml

31 lines
742 B
YAML
Raw Normal View History

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