diff --git a/.github/workflows/ci-comment.yaml b/.github/workflows/ci-comment.yaml index 9aaf698d..1c21edd5 100644 --- a/.github/workflows/ci-comment.yaml +++ b/.github/workflows/ci-comment.yaml @@ -24,7 +24,7 @@ jobs: submodules: true - name: 'Download artifact' - uses: actions/github-script@v3.1.0 + uses: actions/github-script@v7 with: script: | const artifacts = await github.actions.listWorkflowRunArtifacts({ @@ -59,7 +59,7 @@ jobs: done - name: Update the PR body - uses: actions/github-script@v2 + uses: actions/github-script@v7 env: SNAPSHOT_UPDATABLE: ${{ steps.test-update-snapshot.outputs.result }} PACKAGES_TO_UPDATE: ${{ steps.test-update-snapshot.outputs.packages }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6080c79d..e7af1a54 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -65,13 +65,12 @@ jobs: echo "::set-output name=opam-repo-default::$(echo "$DEFAULT_OPAM_REPO")" - name: Setup OCaml ${{ matrix.ocaml-version }} - uses: ocaml/setup-ocaml@v2 + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: ${{ matrix.ocaml-version }} dune-cache: true cache-prefix: "snapshot-${{ matrix.snapshot }}" - opam-depext: false opam-pin: false opam-repositories: | @@ -179,7 +178,7 @@ jobs: exit 1 fi - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: success() || failure() with: name: "pr-snapshot-${{ matrix.snapshot }}-${{ matrix.ocaml-version }}-${{ matrix.os }}" diff --git a/.github/workflows/update-develop.yaml b/.github/workflows/update-develop.yaml index 9d9005cd..85691252 100644 --- a/.github/workflows/update-develop.yaml +++ b/.github/workflows/update-develop.yaml @@ -22,12 +22,11 @@ jobs: private_key: ${{ secrets.SG_REPO_GH_APP_PRIV_KEY }} - name: Setup OCaml - uses: ocaml/setup-ocaml@v2 + uses: ocaml/setup-ocaml@v3 with: ocaml-compiler: 4.12 dune-cache: true - opam-depext: false opam-pin: false - name: Install OCaml dependencies