Skip to content

Files

Latest commit

Apr 17, 2025
c4fd4ac · Apr 17, 2025

History

History

lint-fmt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 17, 2025
Aug 6, 2024
Apr 17, 2025

README.md

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@v3
        with:
          ocaml-compiler: 5
      - uses: ocaml/setup-ocaml/lint-fmt@v3

Inputs

Consult the action.yml for inputs.