mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
jobs: update nixpkgs daily
This commit is contained in:
parent
887022b8c1
commit
87969620a1
24
.github/workflows/flake-update.yml
vendored
Normal file
24
.github/workflows/flake-update.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: update-flake-lock
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '15 18 * * *' # runs daily at 18:15 UTC
|
||||
|
||||
jobs:
|
||||
lockfile:
|
||||
strategy:
|
||||
matrix:
|
||||
flake-dir: [ ".", "./dev-flake" ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@main
|
||||
with:
|
||||
pr-title: "Update nixpkgs"
|
||||
pr-labels: dependencies
|
||||
inputs: nixpkgs
|
||||
path-to-flake-dir: ${{ matrix.flake-dir }}
|
Loading…
Reference in New Issue
Block a user