Skip to content

Commit

Permalink
Merge pull request #31 from smorimoto/update-actions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
samoht authored Jul 22, 2024
2 parents fa4ff94 + 56b3f1f commit c1cc430
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
28 changes: 16 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,24 @@ on: [push, pull_request]
jobs:
tests:
name: Tests

strategy:
fail-fast: false
matrix:
ocaml-version: ["4.13.1", "4.12.1", "4.11.2"]
operating-system: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.operating-system }}

os: [macos-latest, ubuntu-latest, windows-latest]
ocaml-compiler: ["4.14", "4.13", "4.12", "4.11"]
exclude:
- os: macos-latest
ocaml-compiler: "4.11"
- os: windows-latest
ocaml-compiler: "4.12"
- os: windows-latest
ocaml-compiler: "4.11"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune runtest

0 comments on commit c1cc430

Please sign in to comment.