git-next/.forgejo/workflows/daily-nightly.yml

50 lines
1 KiB
YAML
Raw Normal View History

name: Daily with Nightly
# at 2am every day build against the latets nightly version of rust
on:
schedule:
- "0 2 * * *"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v4.0.1
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 +nightly machete
- name: Format
run: cargo +nightly fmt --all --check
- name: Install dbus-dev
run: apk add dbus-dev
- name: Clippy
run: cargo +nightly hack --feature-powerset clippy
- name: Build
run: cargo +nightly hack --feature-powerset build
- name: Test
run: cargo +nightly hack --feature-powerset test
# - name: Mutations
# run: cargo +nightly mutants -vV --in-place