update flake.lock #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update flake.lock | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
nix-flake-update: | |
runs-on: self-hosted | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: update flake.lock | |
run: | | |
nix flake update | |
[[ $(git diff flake.lock) != "" ]] || exit 0 | |
git config --local user.name "HACL*" | |
git config --local user.email "[email protected]" | |
git add flake.lock | |
git commit -m "[CI] update flake.lock" | |
nix build .#hacl | |
- name: push | |
uses: ad-m/github-push-action@master | |
with: | |
branch: main |