We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14041c3 commit a1ee99eCopy full SHA for a1ee99e
3 files changed
.github/workflows/ci.yaml
@@ -0,0 +1,19 @@
1
+name: CI
2
+on: push
3
+
4
+jobs:
5
+ checks:
6
+ runs-on: ubuntu-latest
7
8
+ steps:
9
+ - uses: actions/checkout@v6
10
+ - uses: nixbuild/nix-quick-install-action@v34
11
12
+ - name: Run fmt check
13
+ run: nix develop --command make fmt-check
14
15
+ - name: Run clippy checks
16
+ run: nix develop --command make clippy
17
18
+ - name: Run tests
19
+ run: nix develop --command make test
Makefile
@@ -1,6 +1,6 @@
.PHONY: clippy
clippy:
- cargo clippy --all-targets --all-features
+ cargo clippy
.PHONY: test
test:
@@ -9,3 +9,7 @@ test:
.PHONY: fmt
fmt:
dprint fmt
+.PHONY: fmt-check
+fmt-check:
+ dprint check
flake.nix
@@ -28,6 +28,7 @@
28
openssl
29
pkg-config
30
dprint
31
+ gnumake
32
];
33
};
34
}
0 commit comments