build: adds a daily build against the latest nightly version of rust
This commit is contained in:
parent
1197408c5c
commit
b3b8c0ec90
1 changed files with 49 additions and 0 deletions
49
.forgejo/workflows/daily-nightly.yml
Normal file
49
.forgejo/workflows/daily-nightly.yml
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue