Skip to content

Commit

Permalink
feat(gha): format
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray committed Apr 28, 2024
1 parent d393807 commit 691b949
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,11 @@ jobs:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam install ocamlformat=0.22.4
- run: opam exec -- dune build @fmt

format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- run: nix-shell -I nixpkgs=channel:nixos-23.05 --pure -p ocamlformat_0_22_4 dune_3 ocaml --run "dune build @fmt"

0 comments on commit 691b949

Please sign in to comment.