catala/.github/workflows/update-flake-lock.yml

31 lines
737 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 catala builds
run: |
nix build
- name: check clerk builds and catala test-suite passes
run: |
nix build .#clerk
- name: commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: adelaett
author_email: 90894311+adelaett@users.noreply.github.com
message: "Update lock files"