#!/usr/bin/env bash set -e set -v set -x git checkout main git branch -D update_flake_lock_action || true git checkout -b update_flake_lock_action nix flake update nix flake check