forgejo-todo-checker/.forgejo/workflows/push-next.yml
kemitix f5d34940d4
Some checks failed
Test / build (map[name:nightly]) (pull_request) Failing after 50s
Test / build (map[name:stable]) (pull_request) Successful in 2m19s
Update .forgejo/workflows/push-next.yml
Signed-off-by: kemitix <pcampbell@kemitix.net>
2025-01-13 23:05:19 +00:00

59 lines
1.2 KiB
YAML

name: Test
on:
push:
branches:
- next
pull_request:
branches:
- main
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v3.1.0
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Ignored Files
run: check-for-ignored
- name: Check TODOs (Origin)
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
- name: Check TODOs (Mirror)
uses: kemitix/todo-checker@v1.1.0
- name: Machete
run: cargo +${{ matrix.toolchain.name }} machete
- name: Format
run: cargo +${{ matrix.toolchain.name }} fmt --all --check
- name: Clippy
run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset clippy
- name: Build
run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset build
- name: Test
run: cargo +${{ matrix.toolchain.name }} hack --feature-powerset test
- name: Mutations
run: cargo +${{ matrix.toolchain.name }} mutants -vV --in-place