Skip to content

Commit

Permalink
Add dune fmt check to CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
yfyf committed Nov 26, 2024
1 parent fc2b21b commit d672360
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,15 @@ jobs:
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: cd controller && nix-shell --run 'bin/test --force --no-buffer'

ocaml-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
system-features = nixos-test benchmark big-parallel kvm
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: cd controller && nix-shell --run 'dune build @fmt'

0 comments on commit d672360

Please sign in to comment.