Skip to content

Commit 18ef975

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

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/workflows/lint.yml

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