Merge pull request #8 from ignyx/ci-update-cache

ci: update deprecated actions
This commit is contained in:
Arthur Bit-Monnot 2025-12-08 18:10:20 +01:00 committed by GitHub
commit 5482bbc818
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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