From ca952b14a8dcdab9b19dab519f84c123b0a6f4e6 Mon Sep 17 00:00:00 2001 From: KodrAus Date: Tue, 19 Mar 2024 07:57:29 +1000 Subject: [PATCH] add a workflow for running cargo outdated --- .cargo/{config => config.toml} | 0 .github/workflows/outdated.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) rename .cargo/{config => config.toml} (100%) create mode 100644 .github/workflows/outdated.yml diff --git a/.cargo/config b/.cargo/config.toml similarity index 100% rename from .cargo/config rename to .cargo/config.toml diff --git a/.github/workflows/outdated.yml b/.github/workflows/outdated.yml new file mode 100644 index 00000000..5f3016a6 --- /dev/null +++ b/.github/workflows/outdated.yml @@ -0,0 +1,24 @@ +name: Dependency Check + +on: + pull_request: + push: + branches: + - main + schedule: + - cron: '0 0 * * *' + +jobs: + outdated: + name: Update Available + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + + - name: Install cargo-outdated + run: cargo install cargo-outdated + + - name: Check for outdated dependencies + run: cargo outdated