Skip to content

Nightly checks

Nightly checks #127

Workflow file for this run

name: Nightly checks
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * MON-FRI' # 06:00 AM UTC from Monday through Friday
jobs:
udeps:
name: Check for unused dependencies
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
echo "RUST_TOOLCHAIN=$(cat ./rust-toolchain)" >> $GITHUB_ENV
echo "RUST_TOOLCHAIN_NIGHTLY=$(cat ./rust-toolchain-nightly)" >> $GITHUB_ENV
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN_NIGHTLY }}
- name: Cargo Install
run: cargo install cargo-udeps
- uses: Swatinem/rust-cache@v2
with:
shared-key: debug-build-nightly
- run: make udeps