Depend on conf-binaryen #2497
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: lint | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| schedule: | |
| # Prime the caches every Monday | |
| - cron: 0 1 * * MON | |
| jobs: | |
| lint-opam: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Update apt cache | |
| run: sudo apt-get update | |
| - name: Checkout tree | |
| uses: actions/checkout@v6 | |
| - name: Set-up OCaml | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: "5.2" | |
| - name: Set-up Binaryen | |
| uses: Aandreba/[email protected] | |
| with: | |
| token: ${{ github.token }} | |
| - uses: ocaml/setup-ocaml/lint-opam@v3 | |
| lint-fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout tree | |
| uses: actions/checkout@v6 | |
| - name: Set-up OCaml | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: "5.2" | |
| - uses: ocaml/setup-ocaml/lint-fmt@v3 | |
| lint-runtime: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout tree | |
| uses: actions/checkout@v6 | |
| - name: Set-up Biome | |
| uses: biomejs/setup-biome@v2 | |
| with: | |
| version: 1.9.4 | |
| - name: Run biome | |
| run: biome ci |