Skip to content

Commit

Permalink
Enable lint-opam job in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Apr 24, 2024
1 parent f20d55c commit 41af082
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,33 @@ jobs:
local-packages: |
*.opam
- os: macos-latest
ocaml-compiler: 4.14.x
ocaml-compiler: "4.14"
libev: true
ppx: true
local-packages: |
*.opam
- os: windows-latest
ocaml-compiler: 4.14.x
ocaml-compiler: "4.14"
libev: false
ppx: true
local-packages: |
*.opam
- os: ubuntu-latest
ocaml-compiler: 4.08.x
ocaml-compiler: "4.08"
libev: true
ppx: false
local-packages: |
*.opam
!lwt_ppx.opam
- os: macos-latest
ocaml-compiler: 4.08.x
ocaml-compiler: "4.08"
libev: true
ppx: false
local-packages: |
*.opam
!lwt_ppx.opam
- os: windows-latest
ocaml-compiler: 4.08.x
ocaml-compiler: "4.08"
libev: false
ppx: false
local-packages: |
Expand Down Expand Up @@ -111,18 +111,18 @@ jobs:
- run: opam exec -- make ppx_let-test-deps ppx_let-test
if: ${{ matrix.ppx == true }}

# lint-opam:
# runs-on: ubuntu-latest
lint-opam:
runs-on: ubuntu-latest

# steps:
# - name: Checkout tree
# uses: actions/checkout@v4
steps:
- name: Checkout tree
uses: actions/checkout@v4

# - name: Set-up OCaml
# uses: ocaml/setup-ocaml@v2
# with:
# ocaml-compiler: "5.1"
# allow-prerelease-opam: true
# dune-cache: true
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.1"
allow-prerelease-opam: true
dune-cache: true

# - uses: ocaml/setup-ocaml/lint-opam@v2
- uses: ocaml/setup-ocaml/lint-opam@v2

0 comments on commit 41af082

Please sign in to comment.