rose-pine-nix/.github/workflows/format.yml
dependabot[bot] 19c4ec6064
actions: bump cachix/install-nix-action from 23 to 24 (#62)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-16 23:53:08 +00:00

24 lines
384 B
YAML

name: Format
on:
push:
branches: [main]
pull_request:
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
- name: Run formatter
run: |
pushd dev/
nix fmt
popd
- name: Check for changes
run: git diff --color=always --exit-code