Skip to content

Commit 52f3993

Browse files
committed
CI: GitHub: workflow: add project Nixpkgs-integration test
1 parent 106dbf3 commit 52f3993

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Direct import & build inside Nixpkgs"
2+
3+
on:
4+
release:
5+
# created: a draft is saved, or a release or pre-release is published without previously being saved as a draft
6+
types: [ created ]
7+
8+
jobs:
9+
10+
build10:
11+
name: "Clean integration test"
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: "Git checkout"
15+
uses: actions/checkout@v2
16+
- name: "Local cache"
17+
uses: actions/cache@v2
18+
with:
19+
path: |
20+
/nix/store
21+
key: ${{ runner.os }}-Nixpkgs-integration-test
22+
- name: "Install Nix"
23+
uses: cachix/install-nix-action@v12
24+
with:
25+
nix_path: "nixpkgs=channel:nixos-unstable"
26+
- name: "Run Nixpkgs integration test"
27+
uses: Anton-Latukha/test-haskell-nixpkgs-integration-action@v1

0 commit comments

Comments
 (0)