diff options
Diffstat (limited to '.github/workflows/clippy_rustfmt_test.yaml')
| -rw-r--r-- | .github/workflows/clippy_rustfmt_test.yaml | 16 |
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 @@ | |||
| 1 | on: push | ||
| 2 | |||
| 3 | name: build test | ||
| 4 | |||
| 5 | jobs: | ||
| 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 | ||