aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-04-18 09:30:49 -0700
committerFranck Cuny <franck@fcuny.net>2025-04-18 09:30:49 -0700
commit1540db8dcc59584fd47c9014f727039e928b2f52 (patch)
tree5d2dbcbeab164a843bc03aed83eaea462c71b62d
parentset a theme for bat (diff)
downloadinfra-1540db8dcc59584fd47c9014f727039e928b2f52.tar.gz
run treefmt through the nix shell
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 4 insertions, 8 deletions
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