git-next/.forgejo/workflows/push-next.yml
Renovate Bot be9993029e
Some checks failed
Test / build (map[name:stable]) (push) Successful in 10m35s
Test / build (map[name:nightly]) (push) Successful in 11m50s
Release Please / Release-plz (push) Successful in 49s
Release Please / Docker image (push) Failing after 1m47s
chore(deps): update git.kemitix.net/kemitix/rust docker tag to v4
2025-01-16 15:57:21 +00:00

61 lines
1.3 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:v4.0.1
strategy:
matrix:
toolchain:
- name: stable
- name: nightly
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Ignored Files
run: check-for-ignored
- name: Check TODOs
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
- name: Machete
run: cargo +${{ matrix.toolchain.name }} machete
- name: Format
run: cargo +${{ matrix.toolchain.name }} fmt --all --check
- name: Install dbus-dev
run: |
if [ -f "$(which apk)" ] && [ -x "$(which apk)" ]; then
apk add dbus-dev
fi
- 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