setup-rust/.forgejo/workflows/test.yml

32 lines
681 B
YAML
Raw Normal View History

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