Skip to content

Commit

Permalink
CI: move
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Nov 20, 2024
1 parent d4be1c0 commit 4680208
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,38 +154,4 @@ jobs:
branch: wikidoc
folder: doc-dev
clean: true
target-folder: doc/dev/

lint-opam:
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.2"
dune-cache: true
- uses: ocaml/setup-ocaml/lint-opam@v3

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.2"
dune-cache: true
- uses: ocaml/setup-ocaml/lint-fmt@v3

lint-runtime:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up Biome
uses: biomejs/setup-biome@v2
- name: Run biome
run: biome ci
target-folder: doc/dev/
42 changes: 42 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: lint

on:
pull_request:
push:
branches:
- master

jobs:
lint-opam:
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.2"
dune-cache: true
- uses: ocaml/setup-ocaml/lint-opam@v3

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.2"
dune-cache: true
- uses: ocaml/setup-ocaml/lint-fmt@v3

lint-runtime:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up Biome
uses: biomejs/setup-biome@v2
- name: Run biome
run: biome ci

0 comments on commit 4680208

Please sign in to comment.