Skip to content

Commit

Permalink
ci: cargo-outdated (dtolnay style)
Browse files Browse the repository at this point in the history
This checks if there are outdated dependencies every day at 04:45, an
arbitrarily chosen time that has nothing to do with my problematic sleep
schedule.

In an ideal world, everyone that needs to know this would then be
watching this repository, and be notified if this workflow fails (since
it doesn't open a PR, which is our current method of notification), but
hey, if not I'll just fix it, it's not horrible to do anyway /shrug

Signed-off-by: Christina Sørensen <[email protected]>
  • Loading branch information
cafkafk committed Sep 24, 2024
1 parent 96dd8fc commit a11584c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cargo-outdated.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2024 Christina Sørensen
#
# SPDX-License-Identifier: EUPL-1.2

name: outdated
on:
schedule: [{cron: "45 4 * * *"}]
jobs:
outdated:
name: Outdated
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/install@cargo-outdated
- run: cargo outdated --workspace --exit-code 1
- run: cargo outdated --manifest-path fuzz/Cargo.toml --exit-code 1

0 comments on commit a11584c

Please sign in to comment.