File tree 4 files changed +5
-7
lines changed
4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ jobs:
150
150
# matrix.ocaml_compiler may contain commas
151
151
- name : Get OPAM cache key
152
152
shell : bash
153
- run : echo "opam_cache_key=opam-env-v4 -${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}" | sed 's/,/-/g' >> $GITHUB_ENV
153
+ run : echo "opam_cache_key=opam-env-v5 -${{ matrix.os }}-${{ matrix.ocaml_compiler }}-${{ hashFiles('dune-project') }}" | sed 's/,/-/g' >> $GITHUB_ENV
154
154
155
155
- name : Restore OPAM environment
156
156
id : cache-opam-env
@@ -186,9 +186,7 @@ jobs:
186
186
187
187
- name : Install OPAM dependencies
188
188
if : steps.cache-opam-env.outputs.cache-hit != 'true'
189
- run : |
190
- opam install . --deps-only
191
- opam install ocamlformat=0.26.2
189
+ run : opam install . --deps-only --with-test
192
190
193
191
- name : Cache OPAM environment
194
192
if : steps.cache-opam-env.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ opam init
49
49
opam switch create 5.2.0 # can also create local switch with opam switch create
50
50
51
51
# Install dev dependencies from OPAM
52
- opam install . --deps-only --with-dev-setup -y
52
+ opam install . --deps-only --with-test --with- dev-setup -y
53
53
```
54
54
55
55
#### npm install
Original file line number Diff line number Diff line change 22
22
( >= 4 .10) )
23
23
( ocamlformat
24
24
( and
25
- :with -dev-setup
25
+ :with -test
26
26
( = 0 .26.2) ) )
27
27
( ocaml-lsp-server
28
28
( and
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ homepage: "https://github.com/rescript-lang/rescript-compiler"
8
8
bug-reports: "https://github.com/rescript-lang/rescript-compiler/issues"
9
9
depends: [
10
10
"ocaml" {>= "4.10"}
11
- "ocamlformat" {with-dev-setup & = "0.26.2"}
11
+ "ocamlformat" {with-test & = "0.26.2"}
12
12
"ocaml-lsp-server" {with-dev-setup & = "1.19.0"}
13
13
"cppo" {= "1.6.9"}
14
14
"js_of_ocaml" {= "5.8.1"}
You can’t perform that action at this time.
0 commit comments