Skip to content

flake: format with nixfmt-rfc-style #15

flake: format with nixfmt-rfc-style

flake: format with nixfmt-rfc-style #15

Workflow file for this run

# Run on each main branch commit, create a commit to update the README.md
name: Check and update Readme
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
contents: write
name: Update Readme
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- name: Update Readme
run: nix run .#updateReadme
- uses: EndBug/add-and-commit@v9
if: ${{ github.event_name == 'push' }}
with:
push: true
- name: Output readme
if: ${{ github.event_name != 'push' }}
run: cat README.md > "$GITHUB_STEP_SUMMARY"