From 6df0b97b39baa1c0b3002b051f307aed68e17d1b Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Sat, 9 Aug 2025 00:21:43 -0500 Subject: [PATCH] ci: added treefmt workflow to gha and removed from buildbot Without changes to `flake/dev/fmt.nix`, as that file is not on the 25.05 branch. (cherry picked from commit cfdbf72664b3e3f91c0e8d4c247df7e37f53a679) --- .github/workflows/lint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..b2640403 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: lint + +on: + pull_request: + paths-ignore: + - "**.md" + - "**.svg" + - ".gitignore" + - "LICENSE" + - "flake.lock" + +jobs: + treefmt: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: cachix/install-nix-action@v31 + - name: Run treefmt check + run: nix build .#checks.x86_64-linux.treefmt --accept-flake-config