Skip to content

Commit cc46d49

Browse files
committed
ci: added treefmt workflow to gha and removed from buildbot
1 parent 832de87 commit cc46d49

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

.github/workflows/treefmt.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Formatting
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- "**.md"
7+
- "**.svg"
8+
- ".gitignore"
9+
- "LICENSE"
10+
- "flake.lock"
11+
12+
jobs:
13+
lint:
14+
name: treefmt
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
- name: Install Nix
20+
uses: cachix/install-nix-action@v31
21+
- name: Run treefmt check
22+
run: nix build .#checks.x86_64-linux.treefmt --accept-flake-config

flake/dev/fmt.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
perSystem =
88
{ config, pkgs, ... }:
99
{
10-
ci.buildbot = {
11-
inherit (config.checks) treefmt;
12-
};
13-
1410
treefmt.config = {
1511
projectRootFile = "flake.nix";
1612
flakeCheck = true;

0 commit comments

Comments
 (0)