From 1540db8dcc59584fd47c9014f727039e928b2f52 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 18 Apr 2025 09:30:49 -0700 Subject: run treefmt through the nix shell --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dd969c..c50105e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,7 @@ jobs: format: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: ❄️ Install Nix - uses: DeterminateSystems/nix-installer-action@v16 - - - name: ❄️ Check formatting - run: nix fmt + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@v16 + - name: check formatting + run: nix develop --command treefmt -- cgit v1.2.3