Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Jul 21, 2024
1 parent 60fce85 commit f5d1f87
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 25 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
39 changes: 14 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,22 @@ jobs:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 5.0
- 4.14.1
- 4.13.1
- 4.08.1

- "5.0"
- "4.14"
- "4.13"
- "4.08"
exclude:
- os: windows-latest
ocaml-compiler: "4.08"
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- name: Install dependencies
run: |
opam install . --deps-only --with-test
- name: Build
run: |
opam exec -- dune build
- name: Tests
run: |
opam exec -- dune build @runtest
- name: Opam Lint
run: |
opam lint uri.opam uri-re.opam uri-sexp.opam uri-bench.opam
- run: opam install . --deps-only --with-test
- run: opam exec -- dune build
- run: opam exec -- dune build @runtest

0 comments on commit f5d1f87

Please sign in to comment.