Skip to content

refactor({modules,mcl}/shard-matrix): Rework the implementation #43

refactor({modules,mcl}/shard-matrix): Rework the implementation

refactor({modules,mcl}/shard-matrix): Rework the implementation #43

Workflow file for this run

name: 'MCL'
on:
# Allow this workflow to be triggered manually:
workflow_dispatch:
# Allow this workflow to be triggered in merge
merge_group:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.repository }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
generate-matrix-matrix:
name: Generate Matrix of Matrices
runs-on: self-hosted
steps:
- name: Install Nix
uses: metacraft-labs/nixos-modules/.github/install-nix@main
with:
cachix-cache: ${{ vars.CACHIX_CACHE }}
cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}
trusted-public-keys: ${{ vars.TRUSTED_PUBLIC_KEYS }}
substituters: ${{ vars.SUBSTITUTERS }}
- uses: actions/checkout@v4
- name: Build & activate the Nix Dev Shell
run: |
eval "$(nix print-dev-env --impure .#devShells.x86_64-linux.default)"
env >> "$GITHUB_ENV
- name: Build and test the `mcl` command
run: cd packages/mcl && dub test -- -e 'fetchJson|(coda\.)'