Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '30 5,17 * * *'
# Allows you to run this workflow manually from the Actions tab
Expand All @@ -7,7 +11,7 @@ on:
name: Daily check

jobs:
check-unused-dependencies:
check-deps-unused:
runs-on: ubuntu-22.04
timeout-minutes: 30

Expand All @@ -30,3 +34,27 @@ jobs:

- name: Run cargo udeps
run: cargo udeps --all-targets --all-features

check-deps-minimal-versions:
runs-on: ubuntu-22.04
timeout-minutes: 30

steps:
- uses: actions/checkout@v3

- name: Install native packages
run: |
sudo apt-get -y install mold

- uses: Swatinem/rust-cache@v1

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true

- name: Build with minimal versions
run: |
cargo update -Z minimal-versions
cat Cargo.lock
cargo build --locked