Skip to content

Commit

Permalink
Fix dependencies installation for format workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tmattio committed Sep 8, 2020
1 parent 3013771 commit 1b953ce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ jobs:
ocaml-version: ${{ matrix.ocaml-version }}

- name: Install dependencies
run: opam install dune ocamlformat
if: steps.cache-opam.outputs.cache-hit != 'true'
run: opam install ocamlformat

- name: Upgrade dependencies
run: opam upgrade --fixup
if: steps.cache-opam.outputs.cache-hit == 'true'

- name: Format
run: opam exec -- dune build @fmt --auto-promote || true
Expand Down

0 comments on commit 1b953ce

Please sign in to comment.