summaryrefslogtreecommitdiff
path: root/.github/workflows/update-flake.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-30 19:44:41 -0400
committerseth <[email protected]>2023-05-30 20:01:28 -0400
commited8b784c78b759a59dbb0232e04d00604a611699 (patch)
tree84b5d916da4c361c3ce9d29fa4b665a92f79ea4c /.github/workflows/update-flake.yaml
parentd4b67a57aa3b081e01401f723ef5974459ed3171 (diff)
ci: don't use unmaintained actions
Diffstat (limited to '.github/workflows/update-flake.yaml')
-rw-r--r--.github/workflows/update-flake.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/update-flake.yaml b/.github/workflows/update-flake.yaml
new file mode 100644
index 0000000..12d7607
--- /dev/null
+++ b/.github/workflows/update-flake.yaml
@@ -0,0 +1,28 @@
+name: update nix flake
+# this is to make sure we can build against a
+# recent version of nixos-unstable
+
+on:
+ schedule:
+ - cron: "0 0 * * 6"
+ workflow_dispatch:
+
+permissions:
+ contents: write
+
+jobs:
+ update-flake:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: setup nix & cachix
+ uses: ./.github/actions/setup-nix
+ with:
+ cachix-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
+
+ - uses: DeterminateSystems/update-flake-lock@v19
+ with:
+ commit-msg: "chore(flake): update inputs"
+ pr-title: "chore(flake): update inputs"