rust/.forgejo/workflows/test.yml
Paul Campbell a594b4b091
Some checks failed
/ test (map[name:stable]) (push) Failing after 3s
/ test (map[name:nightly]) (push) Failing after 4s
test: use correct matrix syntax
2024-09-17 07:32:56 +01:00

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