rust/.forgejo/workflows/test.yml
Paul Campbell 3fa43fa798
All checks were successful
/ test (map[name:nightly]) (push) Successful in 32s
/ test (map[name:v1.81.0]) (push) Successful in 5s
/ test (map[name:stable]) (push) Successful in 57s
build: test against a specific version of rust
2024-09-17 09:51:55 +01:00

31 lines
681 B
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
- name: v1.81.0
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