rust/.forgejo/workflows/test.yml
Paul Campbell b352ee0e67
All checks were successful
/ test (map[name:nightly]) (push) Successful in 2m16s
/ test (map[name:stable]) (push) Successful in 1m51s
test: use correct matrix syntax
2024-09-17 09:29:18 +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