diff --git a/.forgejo/workflows/daily-nightly.yml b/.forgejo/workflows/daily-nightly.yml new file mode 100644 index 0000000..5753047 --- /dev/null +++ b/.forgejo/workflows/daily-nightly.yml @@ -0,0 +1,49 @@ +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