From 41af0826c4787fe172aaa3254f3c0ac39333cc60 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Wed, 24 Apr 2024 17:38:08 +0900 Subject: [PATCH] Enable lint-opam job in CI Signed-off-by: Sora Morimoto --- .github/workflows/workflow.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index c02b5662e..568b771c6 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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: | @@ -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