803f436758
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 20. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v18...v20) --- 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>
21 lines
537 B
YAML
21 lines
537 B
YAML
name: Formatting Check
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
jobs:
|
|
|
|
checks:
|
|
name: Check expressions
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: cachix/install-nix-action@v20
|
|
with:
|
|
install_url: https://nixos.org/nix/install
|
|
extra_nix_config: |
|
|
auto-optimise-store = true
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
experimental-features = nix-command flakes
|
|
- run: nix run nixpkgs#alejandra -- -c .
|
|
|