rust/.forgejo/workflows/test.yml
Paul Campbell 314d3046ad
Some checks failed
/ test (map[name:nightly]) (push) Failing after 6s
/ test (map[name:stable]) (push) Failing after 7s
test: use correct matrix syntax
2024-09-17 08:08:40 +01:00

30 lines
655 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
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: ${{ matrix.toolchain.name }} cargo test
- name: Build
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: ${{ matrix.toolchain.name }} cargo build
- name: Run
uses: https://git.kemitix.net/kemitix/rust@next
with:
args: ${{ matrix.toolchain.name }} cargo run