refactor: use explicit unit argument in pretty printing fns in js_dum… #3504
This file contains 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: Nix Pipeline | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ubuntu-tests: | |
name: Build and test (Ubuntu) | |
strategy: | |
matrix: | |
ocaml-version: | |
- 5_3 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
extra-substituters = https://anmonteiro.nix-cache.workers.dev | |
extra-trusted-public-keys = ocaml.nix-cache.com-1:/xI2h2+56rwFfKyyFVbkJSeGqSIYMC/Je+7XXqGKDIY= | |
- name: "Run nix-build" | |
run: nix-build ./nix/ci/test.nix --argstr ocamlVersion ${{ matrix.ocaml-version }} | |
macos-tests: | |
name: Build and test (${{ matrix.os }}) | |
strategy: | |
matrix: | |
os: | |
- macos-13 | |
- macos-14 | |
ocaml-version: | |
- 5_3 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
extra-substituters = https://anmonteiro.nix-cache.workers.dev | |
extra-trusted-public-keys = ocaml.nix-cache.com-1:/xI2h2+56rwFfKyyFVbkJSeGqSIYMC/Je+7XXqGKDIY= | |
- name: "Run nix-build" | |
run: nix-build ./nix/ci/test.nix --argstr ocamlVersion ${{ matrix.ocaml-version }} |