From b3b8c0ec90f9e2c66b922be91be67833e90e749e Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 26 Jan 2025 13:54:50 +0000 Subject: [PATCH] build: adds a daily build against the latest nightly version of rust --- .forgejo/workflows/daily-nightly.yml | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .forgejo/workflows/daily-nightly.yml 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