Skip to content

Commit e67499f

Browse files
committed
chore: Pin CI dependencies
chore: Upgrade setup-ocaml chore!: Drop support for OCaml 4.12
1 parent acd331b commit e67499f

File tree

64 files changed

+1024
-936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1024
-936
lines changed

.github/workflows/esy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ jobs:
2020

2121
steps:
2222
- name: Setup node.js
23-
uses: actions/setup-node@v3.6.0
23+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2424
with:
25-
node-version: "16"
25+
node-version: "22"
2626
check-latest: true
2727

2828
# Install `esy` to build the project
2929
# It also adds `shx` globally for cross-platform shell commands
3030
- name: Setup environment
3131
run: |
32-
npm i -g esy
32+
npm i -g esy@0.8.0
3333
npm i -g shx
3434
3535
- name: Checkout project
36-
uses: actions/checkout@v3.5.3
36+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3737
with:
3838
submodules: "recursive"
3939

@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Esy cache
4545
id: esy-cache
46-
uses: actions/cache@v3.3.1
46+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4747
with:
4848
path: _export
4949
key: ${{ runner.os }}-esy-${{ hashFiles('esy.lock/index.json') }}

.github/workflows/opam.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,25 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest, macos-latest, windows-latest]
20-
ocaml-compiler: [4.12.1, 4.13.1, 4.14.1]
20+
ocaml-compiler: [4.13.1, 4.14.1, 5.3.0]
2121

2222
steps:
2323
- name: Checkout project
24-
uses: actions/checkout@v3.5.3
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
with:
2626
submodules: "recursive"
2727

2828
- name: Setup OCaml ${{ matrix.ocaml-compiler }}
29-
uses: ocaml/setup-ocaml@v2
30-
if: ${{ startsWith(matrix.os, 'windows-') }}
29+
uses: ocaml/setup-ocaml@c2e6bb92370612b89f302c3aaefa1da45ee2d702 # v3.2.15
3130
with:
3231
ocaml-compiler: ${{ matrix.ocaml-compiler }}
33-
opam-repositories: |
34-
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
35-
default: https://github.com/ocaml/opam-repository.git
3632

37-
- name: Setup OCaml ${{ matrix.ocaml-compiler }}
38-
uses: ocaml/setup-ocaml@v2
39-
if: ${{ !startsWith(matrix.os, 'windows-') }}
40-
with:
41-
ocaml-compiler: ${{ matrix.ocaml-compiler }}
33+
# Necessary until using libbinaryen v122
34+
- name: Override C Compiler Flags For Windows
35+
if: ${{ startsWith(matrix.os, 'windows-') }}
36+
run: |
37+
echo "CC=x86_64-w64-mingw32-gcc" | Out-File -FilePath $env:GITHUB_ENV -Append
38+
echo "CXX=x86_64-w64-mingw32-g++" | Out-File -FilePath $env:GITHUB_ENV -Append
4239
4340
- name: Install local dependencies
4441
run: |

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
brew install git-archive-all
3737
3838
- name: Checkout code
39-
uses: actions/checkout@v3.5.3
39+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4040
with:
4141
submodules: "recursive"
4242

@@ -84,7 +84,7 @@ jobs:
8484
echo -n "$CHANGES" > CHANGES.md
8585
8686
- name: Setup OCaml
87-
uses: ocaml/setup-ocaml@v2
87+
uses: ocaml/setup-ocaml@c2e6bb92370612b89f302c3aaefa1da45ee2d702 # v3.2.15
8888
with:
8989
ocaml-compiler: 4.14.0
9090

@@ -104,9 +104,9 @@ jobs:
104104
runs-on: ubuntu-latest
105105
steps:
106106
- name: Setup NodeJS
107-
uses: actions/setup-node@v3.6.0
107+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
108108
with:
109-
node-version: "16"
109+
node-version: "22"
110110
registry-url: "https://registry.npmjs.org"
111111

112112
- name: Publish to npm

binaryen.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build: [
1212
[ "dune" "build" "-p" name "-j" jobs ]
1313
]
1414
depends: [
15-
"ocaml" {>= "4.12.0"}
15+
"ocaml" {>= "4.13.0"}
1616
"dune" {>= "3.0.0"}
1717
"dune-configurator" {>= "3.0.0"}
1818
"js_of_ocaml-compiler" {>= "4.1.0" < "6.0.0"}

esy.lock/index.json

Lines changed: 637 additions & 567 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/astring.0.8.5/opam

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/base-bytes.base/opam

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/base.v0.16.3/opam

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/camlp-streams.5.0.1/opam

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/chrome-trace.3.11.1/opam renamed to esy.lock/opam/chrome-trace.3.17.2/opam

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/cmdliner.1.2.0/opam renamed to esy.lock/opam/cmdliner.1.3.0/opam

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/conf-bash.1/opam

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/cppo.1.6.9/opam

Lines changed: 0 additions & 39 deletions
This file was deleted.

esy.lock/opam/dune-build-info.3.11.1/opam renamed to esy.lock/opam/dune-build-info.3.17.2/opam

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/dune-configurator.3.11.1/opam renamed to esy.lock/opam/dune-configurator.3.17.2/opam

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esy.lock/opam/dune-rpc.3.11.1/opam renamed to esy.lock/opam/dune-rpc.3.17.2/opam

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)