Skip to content

Commit 13a1586

Browse files
committed
Upgrade esy and actions
1 parent 441e625 commit 13a1586

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/esy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ubuntu-22.04, macos-latest, windows-latest]
19+
os: [ubuntu-latest, macos-latest, windows-latest]
2020

2121
steps:
2222
- name: Setup node.js
@@ -29,7 +29,7 @@ jobs:
2929
# It also adds `shx` globally for cross-platform shell commands
3030
- name: Setup environment
3131
run: |
32-
npm i -g esy@0.6.12
32+
npm i -g esy@0.8.0
3333
npm i -g shx
3434
3535
- name: Checkout project
@@ -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@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
4747
with:
4848
path: _export
4949
key: ${{ runner.os }}-esy-${{ hashFiles('esy.lock/index.json') }}

.github/workflows/opam.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ubuntu-22.04, macos-latest, windows-latest]
19+
os: [ubuntu-latest, macos-latest, windows-latest]
2020
ocaml-compiler: [4.12.1, 4.13.1, 4.14.1]
2121

2222
steps:
@@ -26,7 +26,7 @@ jobs:
2626
submodules: "recursive"
2727

2828
- name: Setup OCaml ${{ matrix.ocaml-compiler }}
29-
uses: ocaml/setup-ocaml@v2
29+
uses: ocaml/setup-ocaml@0b8b8c6f352bfdd12fa56b6727eed5990aa22859 # v3.2.10
3030
if: ${{ startsWith(matrix.os, 'windows-') }}
3131
with:
3232
ocaml-compiler: ${{ matrix.ocaml-compiler }}
@@ -35,7 +35,7 @@ jobs:
3535
default: https://github.com/ocaml/opam-repository.git
3636
3737
- name: Setup OCaml ${{ matrix.ocaml-compiler }}
38-
uses: ocaml/setup-ocaml@v2
38+
uses: ocaml/setup-ocaml@0b8b8c6f352bfdd12fa56b6727eed5990aa22859 # v3.2.10
3939
if: ${{ !startsWith(matrix.os, 'windows-') }}
4040
with:
4141
ocaml-compiler: ${{ matrix.ocaml-compiler }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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@0b8b8c6f352bfdd12fa56b6727eed5990aa22859 # v3.2.10
8888
with:
8989
ocaml-compiler: 4.14.0
9090

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"@opam/ocaml-lsp-server": ">= 1.9.1 < 1.13.0"
1717
},
1818
"resolutions": {
19-
"@opam/ocp-indent": "1.7.0"
19+
"@opam/ocp-indent": "1.7.0",
20+
"@opam/ocamlfind": "1.9.2"
2021
},
2122
"esy": {
2223
"build": "dune build -p binaryen"
@@ -25,9 +26,6 @@
2526
"test": "esy b dune runtest --display=short",
2627
"format": "dune build @fmt --auto-promote"
2728
},
28-
"installConfig": {
29-
"pnp": false
30-
},
3129
"publishConfig": {
3230
"access": "public"
3331
},

0 commit comments

Comments
 (0)