summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-26 11:03:25 +0200
committerGitHub <noreply@github.com>2022-05-26 11:03:25 +0200
commit6751ec6f546a552d33931dee94b1a67907bee283 (patch)
tree4fd70593e55a021e223dd263b060d57c11ed13b1 /.github
parent74990e1e58fa8ab8abd52603d988ecbc2d45dca9 (diff)
parent74d297da807880a5e721ea30b3f33da178c28452 (diff)
Merge pull request #109 from viperML/main
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"