Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Apr 30, 2024
1 parent 0ce4b75 commit 40d371e
Show file tree
Hide file tree
Showing 3 changed files with 18 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
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ jobs:
os:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.10.x
- 4.11.x
- 4.12.x
- "4.14"
- "5.1"
include:
- os: windows-latest
ocaml-compiler: "4.14"

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout tree
uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true

- name: Install dependencies
run: opam install --deps-only .
- run: opam install --deps-only .

- name: Build components
run: opam exec -- make all
- run: opam exec -- make all
2 changes: 1 addition & 1 deletion wikidoc.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ remove: [
[ "rm" "-f" "%{bin}%/latex_of_wiki" ]
]
depends: [
"ocaml" {>= "4.10.0" & < "4.13.0"}
"ocaml" {>= "4.10.0"}
"base-threads"
"base-unix"
"ocamlfind"
Expand Down

0 comments on commit 40d371e

Please sign in to comment.