diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca7b0c6fc..e40e66eae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ on: permissions: read-all jobs: - build: + build-and-test: permissions: attestations: write contents: write @@ -32,7 +32,9 @@ jobs: - run: corepack enable - name: Install dependencies - run: make deps + run: | + yarn install --immutable + opam install . --deps-only --with-test - name: Run Biome checks run: yarn lint diff --git a/Makefile b/Makefile index d284387cf..68ac63564 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ deps: ## Install development dependencies .PHONY: create_switch create_switch: - opam switch create . 5.2.0 --no-install + opam switch create . 5.2.1 --no-install .PHONY: switch switch: create_switch deps ## Create an opam switch and install development dependencies