Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ocaml-install action to v3 #687

Merged
merged 2 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down Expand Up @@ -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 }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/update-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading