This commit is contained in:
Moritz Angermann 2022-09-27 07:23:33 +00:00
parent f3544d5e58
commit 5ceae31de7

View File

@ -16,14 +16,14 @@ runs:
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.iog.io/ https://cache.zw3rk.com/ https://cache.nixos.org/
- name: Prepare dev shell
run: nix develop github:input-output-hk/iohk-nix?rev=3d984c904d6d7f3f2f06c9c1ae8b1180c1a68d5d#${{ inputs.compiler }} --no-write-lock-file --command true
run: nix develop github:input-output-hk/devx#${{ inputs.compiler }} --no-write-lock-file --command true
shell: bash
- name: Update Cabal Index
run: nix develop github:input-output-hk/iohk-nix?rev=3d984c904d6d7f3f2f06c9c1ae8b1180c1a68d5d#${{ inputs.compiler }} --no-write-lock-file --command cabal update
run: nix develop github:input-output-hk/devx#${{ inputs.compiler }} --no-write-lock-file --command cabal update
shell: bash
- name: Build dependencies
run: nix develop github:input-output-hk/iohk-nix?rev=3d984c904d6d7f3f2f06c9c1ae8b1180c1a68d5d#${{ inputs.compiler }} --no-write-lock-file --command cabal build all --only-dependencies -j
run: nix develop github:input-output-hk/devx#${{ inputs.compiler }} --no-write-lock-file --command cabal build all --only-dependencies -j
shell: bash
- name: Build project
run: nix develop github:input-output-hk/iohk-nix?rev=3d984c904d6d7f3f2f06c9c1ae8b1180c1a68d5d#${{ inputs.compiler }} --no-write-lock-file --command cabal build all -j
run: nix develop github:input-output-hk/devx#${{ inputs.compiler }} --no-write-lock-file --command cabal build all -j
shell: bash