File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v4
17+
18+ - name : Install Nix
19+ uses : cachix/install-nix-action@v25
20+ with :
21+ nix_path : nixpkgs=channel:nixos-unstable
22+
23+ - name : Setup Cachix
24+ uses : cachix/cachix-action@v14
25+ with :
26+ name : iohk
27+
28+ - name : Build
29+ run : nix build
30+
31+ test :
32+ needs : build
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Checkout repository
36+ uses : actions/checkout@v4
37+
38+ - name : Install Nix
39+ uses : cachix/install-nix-action@v25
40+ with :
41+ nix_path : nixpkgs=channel:nixos-unstable
42+
43+ - name : Setup Cachix
44+ uses : cachix/cachix-action@v14
45+ with :
46+ name : iohk
47+
48+ - name : Test
49+ run : nix flake check
You can’t perform that action at this time.
0 commit comments