This repository is a template for testing changes to the https://github.com/DeterminateSystems/update-flake-lock/ action.
- Click "Use this template"
- Give it a name, and click "Create repository from template"
- Modify the
.github/workflows/update.yml
file to point to your fork'supdate-flake-lock
repository and branch - Go to the "Actions" tab and click on "update-flake-lock"
- Then click the "Run workflow" dropdown
- Finally, click the "Run workflow" button
At this point, your action will be running against a flake.nix with an outdated flake.lock in a simulation of a real-word use case. If the action succeeds, you should see a PR appear against that repository.
If your username / organization is some-name
and your branch is some-branch
,
your update.yml
would look like the following:
name: update-flake-lock
on:
workflow_dispatch:
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v1
- name: Update flake.lock
uses: some-name/update-flake-lock@some-branch