Skip to content

Commit

Permalink
Merge pull request #335 from ElementsProject/nix-update-workflow
Browse files Browse the repository at this point in the history
ci: nix-flake update workflow
  • Loading branch information
YusukeShimizu authored Dec 23, 2024
2 parents 9d41480 + c99e9b3 commit 02f6732
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/nix-flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * *' # runs daily at 00:00
push:
branches:
- master

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- 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"
base: "master"
pr-labels: |
dependencies
automated
7 changes: 1 addition & 6 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
inputs = {
# Pinning to revision 4f0dadbf38ee4cf4cc38cbc232b7708fddf965bc
# - cln v24.11
# - lnd v0.18.3-beta
# - bitcoin v28.0
# - elements v23.2.4
nixpkgs.url = "github:NixOS/nixpkgs/4f0dadbf38ee4cf4cc38cbc232b7708fddf965bc";
nixpkgs.url = "github:NixOS/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
# blockstream-electrs: init at 0.4.1 #299761
# https://github.com/NixOS/nixpkgs/pull/299761/commits/680d27ad847801af781e0a99e4b87ed73965c69a
Expand Down

0 comments on commit 02f6732

Please sign in to comment.