Use working opam badge provider #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: 5.3.x | |
| - name: Install dependencies | |
| run: opam install . --deps-only --with-test -y | |
| - name: Build | |
| run: opam exec -- dune build @all | |
| - name: Test | |
| run: opam exec -- dune runtest | |
| - name: Lint opam file | |
| run: opam lint contract.opam |