Skip to content

Bump DeterminateSystems/magic-nix-cache-action from 7 to 8 #54

Bump DeterminateSystems/magic-nix-cache-action from 7 to 8

Bump DeterminateSystems/magic-nix-cache-action from 7 to 8 #54

Workflow file for this run

name: Generate
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
readme:
name: README.md
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Nix
uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Set up magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b # v8
- name: Prepare Nix shell
run: nix develop --impure .#ci
- name: Regenerate README
run: nix develop --impure .#ci -c make generate
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Regenerate README.md
file_pattern: README.md
if: github.event_name == 'push'