Skip to content

Commit

Permalink
ci: update opam to use 5.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Aug 22, 2023
1 parent 93de238 commit 69cab1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/opam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# disabling this for now

ocaml-compiler:
- 4.14.x
- 5.1.x

runs-on: ${{ matrix.os }}

Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ format-check: ## Checks if format is correct

.PHONY: install
install: ## Update the package dependencies when new deps are added to dune-project
@opam pin add -y melange --dev-repo
@opam pin add -y melange.dev --dev-repo
@opam pin add -y reason.dev --dev-repo
@opam install . --deps-only --with-test
@npm install

.PHONY: init
create-switch: ## Create a local opam switch
@opam switch create . 4.14.1 --no-install
@opam switch create . 5.1.0~alpha2 --no-install

.PHONY: init
init: create-switch install ## Create a local opam switch, install deps

0 comments on commit 69cab1e

Please sign in to comment.