2023-04-23 17:33:44 -04:00
|
|
|
name: Formatting Check
|
|
|
|
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
checks:
|
|
|
|
name: Check expressions
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-05-15 06:07:49 -04:00
|
|
|
- uses: cachix/install-nix-action@v20
|
2023-04-23 17:33:44 -04:00
|
|
|
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 .
|
2023-04-23 17:28:04 -04:00
|
|
|
|