catala/.github/workflows/update-flake-lock.yml
2022-06-06 11:46:37 +02:00

28 lines
607 B
YAML

name: update lock files
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: install nix
uses: cachix/install-nix-action@v15
- name: checkout
uses: actions/checkout@v3
- name: update flake.lock
run: |
nix flake update
- name: check it builds
run: |
nix build
- name: commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: Catala nix updated
author_email: nixer@catala
message: "update lock files"