Skip to content
Merged
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
27 changes: 21 additions & 6 deletions .github/workflows/latest-deps.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Check Latest Dependencies
on:
schedule:
# Chosen so that it runs right before the international date line experiences the weekend.
# Since we're open source, that means globally we should be aware of it right when we have the most
# time to fix it.
#
# Sorry if this ruins your weekend, future maintainer...
- cron: '0 12 * * FRI'
# Daily, so that new Rust releases (lints, deprecations) or dependency releases that break
# the build are caught before they show up as failures on unrelated PRs.
- cron: '0 12 * * *'
workflow_dispatch: # For running manually
pull_request:
paths:
Expand All @@ -20,6 +17,24 @@ env:
MSRV: 1.87.0

jobs:
latest_clippy_stable:
runs-on: ubuntu-latest
name: Check Clippy with Latest Dependencies on Stable
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
- name: Ensure latest dependencies
run: cargo update
- name: Run Clippy
run: cargo clippy -F "$FEATURES"

latest_deps_stable:
runs-on: ubuntu-latest
name: Check Latest Dependencies on Stable
Expand Down
Loading