Skip to content

Commit

Permalink
ci: fix flake update action
Browse files Browse the repository at this point in the history
  • Loading branch information
Daru-san authored Aug 6, 2024
1 parent d0a4631 commit 57062f0
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/flake-update.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: flake update

# Controls when the workflow will run
name: update-flake-lock
on:
schedule:
- cron: "0 0 * * 1"

workflow_dispatch:
workflow_dispatch:
schedule:
- cron: '00 00 * * 6'

jobs:
build:
lockfile:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v6
- name: Update Nix Flake Lock
uses: DeterminateSystems/update-flake-lock@v21
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock"
pr-labels: |
dependencies
automated

0 comments on commit 57062f0

Please sign in to comment.