Go to file
Cole Helbling 127e3e96af README: suggest release instead of branch name 2021-10-19 12:02:03 -07:00
LICENSE flake-update: init action 2021-10-18 11:48:21 -07:00
README.md README: suggest release instead of branch name 2021-10-19 12:02:03 -07:00
action.yml Add commit message to PR body 2021-10-19 12:00:50 -07:00

README.md

update-flake-lock

This is a GitHub Action that will update your flake.lock file whenever it is run.

NOTE: We hardcode the install_url to a relatively recent nixUnstable (nix-2.5pre20211015_130284b currently). If you need a newer version that includes a new feature or important bug fix, feel free to file an issue or send a PR bumping the install_url inside the action.yml!

Example

An example GitHub Action workflow using this action would look like the following:

name: update-flake-lock
on:
  workflow_dispatch: # allows manual triggering
  schedule:
    - cron: '0 0 * * *' # runs daily at 00:00

jobs:
  lockfile:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Update flake.lock
        uses: DeterminateSystems/update-flake-lock@v1