Skip to content

Commit 120eca4

Browse files
committed
Update build to some copied nix thing
1 parent d13cac8 commit 120eca4

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/on-each-commit.yaml

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
on: [push]
1+
name: build
22

3+
on:
4+
pull_request:
5+
push:
36
jobs:
4-
run_tests:
7+
tests:
58
runs-on: ubuntu-latest
6-
container:
7-
image: fredthedino/purerl:0.0.16
89
steps:
9-
- uses: actions/checkout@v2
10-
- name: 'Compile'
11-
run: spago build
12-
- name: 'Test'
13-
run: spago test
10+
- uses: actions/checkout@v2
11+
- uses: cachix/install-nix-action@v12
12+
- run: nix-shell --run 'spago test'

0 commit comments

Comments
 (0)