Skip to content

Commit

Permalink
run flake checker on schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
maxheld83 committed Jan 30, 2025
1 parent 10bbd3f commit c23ccc6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check_flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Check flake.lock file
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * 0' # runs weekly on Sunday at 01:00

jobs:
flake-checker:
name: Run Flake-Checker
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@main
with:
determinate: true
- name: Cache flakes
uses: DeterminateSystems/flakehub-cache-action@main
- name: Run flake-checker
uses: DeterminateSystems/flake-checker-action@main
3 changes: 3 additions & 0 deletions .github/workflows/update_flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
lockfile:
name: Update Lockfile
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit c23ccc6

Please sign in to comment.