From 74d297da807880a5e721ea30b3f33da178c28452 Mon Sep 17 00:00:00 2001 From: Fernando Ayats Date: Thu, 26 May 2022 10:54:10 +0200 Subject: nix: update workflow and bump flake --- .github/workflows/nix-update.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/nix-update.yaml (limited to '.github/workflows') 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" -- cgit v1.2.3