summaryrefslogtreecommitdiff
path: root/.github/workflows/update-flake.yaml
blob: 6133799054824d53d6964e3e45baf821067a505c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
  pull-requests: 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"