File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' MCL'
2+
3+ on :
4+ # Allow this workflow to be triggered manually:
5+ workflow_dispatch :
6+
7+ # Allow this workflow to be triggered in merge
8+ merge_group :
9+
10+ push :
11+ branches :
12+ - main
13+ pull_request :
14+ branches :
15+ - main
16+
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.repository }}-${{ github.event.pull_request.number || github.ref }}
19+ cancel-in-progress : true
20+
21+ jobs :
22+ test-mcl :
23+ runs-on : self-hosted
24+ steps :
25+ - name : Install Nix
26+ uses : metacraft-labs/nixos-modules/.github/install-nix@main
27+ with :
28+ cachix-cache : ${{ vars.CACHIX_CACHE }}
29+ cachix-auth-token : ${{ secrets.CACHIX_AUTH_TOKEN }}
30+ trusted-public-keys : ${{ vars.TRUSTED_PUBLIC_KEYS }}
31+ substituters : ${{ vars.SUBSTITUTERS }}
32+
33+ - uses : actions/checkout@v4
34+
35+ - name : Build and test the `mcl` command
36+ run : nix develop -c sh -c "dub test --root packages/mcl -- -e 'fetchJson|(coda\.)|nix.run|nix.build'"
You can’t perform that action at this time.
0 commit comments