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

Bump ocaml/setup-ocaml from 1 to 2 #425

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 2, 2021

Bumps ocaml/setup-ocaml from 1 to 2.

Release notes

Sourced from ocaml/setup-ocaml's releases.

v2.0.0-beta2

Changed

  • Changed to force an update of the opam cache if the week number is changed.

Removed

  • Removed the profiling functionality added in 2.0.0-alpha.

v2.0.0-beta

Added

  • ​Added opam-repositories input to support multiple opam repositories.

Removed

  • The opam-repository input has been removed in order to add the opam-repositories input.

v2.0.0-alpha

Added

  • Added support for 32 bits compiler variants.
  • Added semver-style version matching support.
  • Cache opam root (~/.opam on Unix, D:\.opam on Windows), opam download-cache (~/.opam/download-cache on Unix, D:\.opam\download-cache on Windows), and opam local switch (_opam).
  • If dune-cache enabled, install dune, automatically configure the dune cache for the most efficient use in CI (exports DUNE_CACHE=enabled, DUNE_CACHE_TRANSPORT=direct. TRANSPORT must be direct, not daemon, to speed up the opam install process and to support Windows: ocaml/dune#4166, ocaml/dune#4167), and share the dune cache directory for each run.
  • If opam-pin is enabled, pin the local packages specified by opam-local-packages.
  • If opam-depext is enabled, install the system dependencies specified by opam-local-packages via depext
  • If opam-disable-sandboxing is enabled, sandboxing is disabled for all platforms except Windows. (Sandboxing is always disabled on the Windows runners due to limitations of opam.)
  • The profiling functionality allows us to check the duration of each group if debug mode is enabled. (https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging)

Changed

  • The Windows runners install mingw64-i686-gcc-core and mingw64-i686-gcc-g++ for 32 bit compiler variant support.
  • Clean the log output by grouping some operations.
  • The compiler will be initialised in all platforms with an opam local switch to eliminate differences between platforms and prepare for full dependency caching in the future.
  • The macOS and Ubuntu runners install and cache opam from the GitHub release directly without the system package manager.
  • The macOS and Ubuntu runners install darcs and mercurial.
  • The Windows runners install mercurial.
  • Export OPAMCOLOR=always.
  • Export OPAMERRLOGLEN=0.
  • Export OPAMPRECISETRACKING=1.
  • Export OPAMSOLVERTIMEOUT=500.
  • Export OPAMROOT=D:\.opam on the Windows runners.
  • Export OPAMVERBOSE=true if the actions debug mode is enabled. (https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging)
  • Export MSYS=winsymlinks:native for @actions/cache on the Windows runners.
  • Export HOME=%USERPROFILE% for opam on the Windows runners.

Removed

  • The ocaml-version input has been removed. Use the ocaml-compiler instead.

... (truncated)

Changelog

Sourced from ocaml/setup-ocaml's changelog.

[2.0.0-beta2]

Changed

  • Changed to force an update of the opam cache if the week number is changed.

Removed

  • Removed the profiling functionality added in 2.0.0-alpha.

[2.0.0-beta]

Added

  • ​Added opam-repositories input to support multiple opam repositories.

Removed

  • The opam-repository input has been removed in order to add the opam-repositories input.

[2.0.0-alpha]

Added

  • Added support for 32 bits compiler variants.
  • Added semver-style version matching support.
  • Cache opam root (~/.opam on Unix, D:\.opam on Windows), opam download-cache (~/.opam/download-cache on Unix, D:\.opam\download-cache on Windows), and opam local switch (_opam).
  • If dune-cache enabled, install dune, automatically configure the dune cache for the most efficient use in CI (exports DUNE_CACHE=enabled, DUNE_CACHE_TRANSPORT=direct. TRANSPORT must be direct, not daemon, to speed up the opam install process and to support Windows: ocaml/dune#4166, ocaml/dune#4167), and share the dune cache directory for each run.
  • If opam-pin is enabled, pin the local packages specified by opam-local-packages.
  • If opam-depext is enabled, install the system dependencies specified by opam-local-packages via depext
  • If opam-disable-sandboxing is enabled, sandboxing is disabled for all platforms except Windows. (Sandboxing is always disabled on the Windows runners due to limitations of opam.)
  • The profiling functionality allows us to check the duration of each group if debug mode is enabled. (https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging)

Changed

... (truncated)

Commits
  • 0b0c749 Prepare v2.0.0-beta5
  • bb4b2ed Add more complex semver range test
  • ceeca43 Use 4.13.x for testing
  • 37bb43b Update package versions
  • 072a852 Merge pull request #274 from ocaml/fix-rate-limit
  • 0e3a409 Update CHANGELOG.md
  • a13b86d Avoid rate limiting by reducing GitHub API calls
  • 27d31b3 Merge pull request #276 from ocaml/better-error-message
  • 8b80b9d Print a better error message if version resolution fails
  • 219e2a8 Merge pull request #273 from ocaml/dependabot/npm_and_yarn/types/node-16.10.2
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 2, 2021
@sim642
Copy link
Member

sim642 commented Nov 2, 2021

@vogler Was there some kind of reason for using v1 instead of v2 for the indentation workflow? According to history it started out as v2 and then was switched to v1 and manual caching.

@vogler
Copy link
Collaborator

vogler commented Nov 2, 2021

The manual caching with v1 was faster: #308 (comment)

@vogler
Copy link
Collaborator

vogler commented Nov 2, 2021

apt install ocp-indent would be easiest & fastest, but seems like there was some problem.

Bumps [ocaml/setup-ocaml](https://github.com/ocaml/setup-ocaml) from 1 to 2.
- [Release notes](https://github.com/ocaml/setup-ocaml/releases)
- [Changelog](https://github.com/ocaml/setup-ocaml/blob/master/CHANGELOG.md)
- [Commits](ocaml/setup-ocaml@v1...v2)

---
updated-dependencies:
- dependency-name: ocaml/setup-ocaml
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/ocaml/setup-ocaml-2 branch from a03dca9 to b4e0357 Compare November 10, 2021 08:39
@sim642
Copy link
Member

sim642 commented Nov 10, 2021

Let's leave it as-is then. I just added a comment on master to make the reason explicit.

@sim642 sim642 closed this Nov 10, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 10, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/github_actions/ocaml/setup-ocaml-2 branch November 10, 2021 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants