diff --git a/.depend b/.depend deleted file mode 100644 index 4e4cb10..0000000 --- a/.depend +++ /dev/null @@ -1,6 +0,0 @@ -_server/graffiti.cmo: -_server/graffiti.cmx: -_client/graffiti.cmo: -_client/graffiti.cmx: -_client/graffiti.cmo: _server/graffiti.type_mli -_client/graffiti.cmx: _server/graffiti.type_mli diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index b6b198d..2176f97 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -1,11 +1,10 @@ -name: Main workflow +name: Builds, tests & co on: - pull_request: - push: - schedule: - - cron: "0 13 * * 1" # Every Monday at 1PM UTC - # https://jasonet.co/posts/scheduled-actions/ + - push + - pull_request + +permissions: read-all jobs: build: @@ -14,24 +13,23 @@ jobs: matrix: os: - ubuntu-latest - ocaml-compiler: - - 4.13.x + - macos-latest + - windows-latest runs-on: ${{ matrix.os }} steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout tree + uses: actions/checkout@v4 - - name: Use OCaml ${{ matrix.ocaml-compiler }} - uses: ocaml/setup-ocaml@v2 + - name: Set-up OCaml + uses: ocaml/setup-ocaml@v3 with: - ocaml-compiler: ${{ matrix.ocaml-compiler }} + ocaml-compiler: 4 # ideally it should be done by `opam install . --deps-only` but right now # we have opam 1.x in the repo, and I'm not very optimistic to even try it - - run: opam depext conf-dbm -y - - run: opam install eliom ocsigen-toolkit cairo2 ocsipersist-dbm calendar syndic -y + - run: opam install cairo2 calendar conf-dbm eliom ocsigen-i18n ocsigen-ppx-rpc ocsigen-toolkit ocsipersist-dbm pgocaml_ppx syndic - name: Compiling simple run: opam exec -- make -C simple all diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ce015e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +_build/ +_client/ +_deps/ +_opam/ +_server/ +.depend