rust/.forgejo/workflows/test.yml
Paul Campbell da790827d4
All checks were successful
/ test (map[name:stable]) (push) Successful in 4s
/ test (map[name:1.74.1]) (push) Successful in 3s
/ test (map[name:nightly]) (push) Successful in 4s
feat: drop entrypoint in favour of using 'run' over 'uses'
2025-01-12 11:40:56 +00:00

37 lines
751 B
YAML

on:
push:
branches:
- next
jobs:
test:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v3.0.0-rc2
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
- name: 1.74.1
steps:
- uses: actions/checkout@v4
- name: Machete
run: cargo machete
- name: Format
run: cargo +${{ matrix.toolchain.name }} fmt --check
- name: Clippy
run: cargo +${{ matrix.toolchain.name }} clippy
- name: Test
run: cargo +${{ matrix.toolchain.name }} test
- name: Build
run: cargo +${{ matrix.toolchain.name }} build
- name: Run
run: cargo +${{ matrix.toolchain.name }} run