CI: GitHub: workflow: add project Nixpkgs-integration test

This commit is contained in:
Anton-Latukha 2020-12-02 16:55:40 +02:00
parent 106dbf3b63
commit 52f39938c0
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
name: "Direct import & build inside Nixpkgs"
on:
release:
# created: a draft is saved, or a release or pre-release is published without previously being saved as a draft
types: [ created ]
jobs:
build10:
name: "Clean integration test"
runs-on: ubuntu-latest
steps:
- name: "Git checkout"
uses: actions/checkout@v2
- name: "Local cache"
uses: actions/cache@v2
with:
path: |
/nix/store
key: ${{ runner.os }}-Nixpkgs-integration-test
- name: "Install Nix"
uses: cachix/install-nix-action@v12
with:
nix_path: "nixpkgs=channel:nixos-unstable"
- name: "Run Nixpkgs integration test"
uses: Anton-Latukha/test-haskell-nixpkgs-integration-action@v1