rust/.forgejo/workflows/test.yml
Paul Campbell 1a9fc950c5
Some checks failed
/ test (map[name:stable]) (push) Successful in 5s
/ test (map[name:v1.74.1]) (push) Failing after 3s
/ test (map[name:nightly]) (push) Successful in 30s
feat: drop entrypoint in favour of using 'run' over 'uses'
2025-01-12 11:39:46 +00:00

37 lines
752 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: v1.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