We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832de87 commit cc46d49Copy full SHA for cc46d49
.github/workflows/treefmt.yml
@@ -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
@@ -7,10 +7,6 @@
perSystem =
{ config, pkgs, ... }:
{
- ci.buildbot = {
- inherit (config.checks) treefmt;
- };
-
treefmt.config = {
projectRootFile = "flake.nix";
flakeCheck = true;
0 commit comments