Merge pull request #8 from ignyx/ci-update-cache
ci: update deprecated actions
This commit is contained in:
commit
5482bbc818
1 changed files with 4 additions and 4 deletions
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- ubuntu-latest
|
||||
# - windows-latest
|
||||
ocaml-version:
|
||||
- 4.14.0
|
||||
- 4.14.2
|
||||
# - 4.10.1
|
||||
# - 4.09.1
|
||||
# - 4.08.1
|
||||
|
|
@ -28,15 +28,15 @@ jobs:
|
|||
- name: Try to restore opam cache
|
||||
if: runner.os != 'Windows'
|
||||
id: opam-cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: "~/.opam"
|
||||
key: ${{ matrix.os }}-${{ matrix.ocaml-version }}
|
||||
|
||||
- name: Use OCaml ${{ matrix.ocaml-version }}
|
||||
uses: avsm/setup-ocaml@v1
|
||||
uses: avsm/setup-ocaml@v3
|
||||
with:
|
||||
ocaml-version: ${{ matrix.ocaml-version }}
|
||||
ocaml-compiler: ${{ matrix.ocaml-version }}
|
||||
|
||||
- run: opam install dune
|
||||
- name: Build project
|
||||
|
|
|
|||
Loading…
Reference in a new issue