Skip to content

Commit 6df0b97

Browse files
c4patinoMattSturgeon
authored andcommitted
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 cfdbf72)
1 parent ab1b596 commit 6df0b97

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
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

0 commit comments

Comments
 (0)