upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.github/workflows/clippy_rustfmt_test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/clippy_rustfmt_test.yaml')
-rw-r--r--.github/workflows/clippy_rustfmt_test.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/clippy_rustfmt_test.yaml b/.github/workflows/clippy_rustfmt_test.yaml
new file mode 100644
index 0000000..5253814
--- /dev/null
+++ b/.github/workflows/clippy_rustfmt_test.yaml
@@ -0,0 +1,16 @@
1on: push
2
3name: build test
4
5jobs:
6 ci:
7 runs-on: ubuntu-latest
8 timeout-minutes: 8
9 steps:
10 - uses: actions/checkout@v3
11 - uses: cachix/install-nix-action@v22
12 with:
13 nix_path: nixpkgs=channel:nixos-unstable
14 - run: nix develop --command cargo clippy
15 - run: nix develop --command cargo fmt --all -- --check
16 - run: nix develop --command cargo test