From b93a1a78e3b26ebab93bead95c63b98ab6a0ce04 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Tue, 2 Jul 2024 22:32:43 +0900 Subject: [PATCH] Update ocaml/setup-ocaml to v3 Signed-off-by: Sora Morimoto --- .github/dependabot.yml | 6 ++++++ .github/workflows/ci.yml | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0317d4a..cd72453 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,8 @@ name: CI -on: [push, pull_request] +on: + - push + - pull_request jobs: build: @@ -28,14 +30,13 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Checkout code + - name: Checkout tree uses: actions/checkout@v4 - name: Set-up OCaml ${{ matrix.ocaml-version }} - uses: ocaml/setup-ocaml@v3.0.0-beta + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ matrix.ocaml-version }} - allow-prerelease-opam: true # Dune (may fail with trunk) - name: Install dune, if possible @@ -45,7 +46,6 @@ jobs: # Dependencies - run: opam install . --deps-only --with-doc --with-test - - run: opam pin add num . --no-action # Check building with make - run: opam exec -- make PROFILE=dev