Skip to content

Commit 7b874e3

Browse files
committed
Clean up workflows
1 parent 13d81df commit 7b874e3

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,35 @@ jobs:
77
name: 'Nix'
88
runs-on: ubuntu-latest
99
steps:
10-
- name: 'Check out code'
10+
- name: Check out code
1111
uses: actions/[email protected]
1212
with:
1313
submodules: recursive
14+
1415
- name: Install Nix
1516
uses: cachix/install-nix-action@v12
1617
with:
1718
extra_nix_config: |
1819
substituters = http://cache.nixos.org https://hydra.iohk.io
1920
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
21+
2022
- name: Install Cachix
2123
uses: cachix/cachix-action@v8
2224
with:
2325
name: kore
2426
signingKey: '${{ secrets.KORE_CACHIX_SIGNING_KEY }}'
25-
- run: nix-build --arg checkMaterialization true -A kore -A project.kore.checks
26-
- run: nix-shell --run "echo OK"
27+
28+
- name: Check materialization
29+
run: nix-build --arg checkMaterialization true -A project.stack-nix
30+
31+
- name: Build
32+
run: nix-build -A kore
33+
34+
- name: Run unit tests
35+
run: nix-build -A project.kore.checks
36+
37+
- name: Check shell
38+
run: nix-shell --run "echo OK"
2739

2840
test-cabal:
2941
name: 'Cabal'

0 commit comments

Comments
 (0)