Skip to content

Commit e048f7d

Browse files
amchicletGitHub Actions Bot
authored and
GitHub Actions Bot
committed
chore(ci): pin ubuntu 22.04 to workaround setup-ocaml issue (semgrep/semgrep-proprietary#2410)
Ubuntu 24.04 and setup-ocaml don't work well together now. See ocaml/setup-ocaml#872. build-test-windows-x86 uses windows-latest, and check-semgrep-javascript uses ubuntu-latest-16-core, so they're not affected as of now, but we'll see. synced from Pro 8c079027934baa957d6b6bbd068a4a5125cd75f9
1 parent d579c7d commit e048f7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: .github/workflows/libs/semgrep.libsonnet

+7
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ local opam_setup = function(opam_switch="4.14.0") {
269269
},
270270
};
271271

272+
// We can't use ubuntu-latest (currently 24.04) just yet until
273+
// https://github.com/ocaml/setup-ocaml/issues/872
274+
// is fixed.
275+
local stable_ubuntu_version_for_setup_ocaml = 'ubuntu-22.04';
276+
272277
// ----------------------------------------------------------------------------
273278
// Entry point
274279
// ----------------------------------------------------------------------------
@@ -301,4 +306,6 @@ local opam_setup = function(opam_switch="4.14.0") {
301306
github_bot: github_bot,
302307
cache_opam: cache_opam,
303308
slack: slack,
309+
310+
stable_ubuntu_version_for_setup_ocaml: stable_ubuntu_version_for_setup_ocaml,
304311
}

0 commit comments

Comments
 (0)