aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorFernando Ayats <[email protected]>2022-05-26 10:54:10 +0200
committerFernando Ayats <[email protected]>2022-05-26 10:54:10 +0200
commit74d297da807880a5e721ea30b3f33da178c28452 (patch)
tree4fd70593e55a021e223dd263b060d57c11ed13b1 /.github
parent74990e1e58fa8ab8abd52603d988ecbc2d45dca9 (diff)
downloadHyprland-74d297da807880a5e721ea30b3f33da178c28452.tar.gz
Hyprland-74d297da807880a5e721ea30b3f33da178c28452.zip
nix: update workflow and bump flake
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/nix-update.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/nix-update.yaml b/.github/workflows/nix-update.yaml
new file mode 100644
index 00000000..323b34a8
--- /dev/null
+++ b/.github/workflows/nix-update.yaml
@@ -0,0 +1,25 @@
+name: "Nix: update lockfile"
+
+on:
+ schedule:
+ - cron: '0 0 */14 * *'
+ workflow_dispatch:
+
+jobs:
+ update:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Clone repository
+ uses: actions/checkout@v3
+ - name: Install nix
+ uses: cachix/install-nix-action@v17
+ with:
+ install_url: https://releases.nixos.org/nix/nix-2.8.0/install
+ extra_nix_config: |
+ auto-optimise-store = true
+ experimental-features = nix-command flakes
+ - name: Update lockfile
+ run: nix flake update
+ - uses: stefanzweifel/git-auto-commit-action@v4
+ with:
+ commit_message: "[gha] bump flake inputs"