Skip to content

Latest commit

 

History

History

lint-fmt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

lint-fmt

[!IMPORTANT] Make sure you have an .ocamlformat file at the root of your project.

Usage

Example workflow

jobs:
  lint-fmt:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout tree
        uses: actions/checkout@v4

      - name: Set-up OCaml
        uses: ocaml/setup-ocaml@v2
        with:
          ocaml-compiler: "5.2"
          dune-cache: true

      - name: Lint fmt
        uses: ocaml/setup-ocaml/lint-fmt@v2

Inputs

Consult the action.yml for inputs.