From 2d6648ca9e7289aa18877e2b0a9aa4d1854309a3 Mon Sep 17 00:00:00 2001 From: Francis Hamel <36383308+francishamel@users.noreply.github.com> Date: Fri, 6 Dec 2024 12:24:43 -0500 Subject: [PATCH] Replace running treefmt directly with running nix flake check The treefmt check adds a check by default. --- .github/workflows/{treefmt.yml => nix-flake-check.yml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{treefmt.yml => nix-flake-check.yml} (77%) diff --git a/.github/workflows/treefmt.yml b/.github/workflows/nix-flake-check.yml similarity index 77% rename from .github/workflows/treefmt.yml rename to .github/workflows/nix-flake-check.yml index e4ec473..a3dc89d 100644 --- a/.github/workflows/treefmt.yml +++ b/.github/workflows/nix-flake-check.yml @@ -1,4 +1,4 @@ -name: "treefmt" +name: "nix flake check" on: pull_request: branches: @@ -14,5 +14,5 @@ jobs: with: extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Run treefmt - run: nix develop --command treefmt --fail-on-change + - name: Run nix flake check + run: nix flake check