Skip to content

Commit

Permalink
testing format workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mardukpill committed Jul 17, 2024
1 parent 7d22a5f commit 4e0406d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Formatting Check
on: [push, pull_request, workflow_dispatch]
jobs:
checks:
name: Check expressions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
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#nixfmt-rfc-style -- --check .

0 comments on commit 4e0406d

Please sign in to comment.