Implement CI using GitHub Actions

This commit is contained in:
Utku Demir 2020-07-02 21:12:51 +12:00
parent 293e8648c9
commit c3c77ede12
No known key found for this signature in database
GPG Key ID: F3F8629C3E0BF60B
2 changed files with 17 additions and 0 deletions

15
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,15 @@
name: "nix-build"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v8
- uses: cachix/cachix-action@v5
with:
name: utdemir
file: default.nix
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

View File

@ -1,5 +1,7 @@
# nix-tree
![Build Status](https://github.com/utdemir/nix-tree/workflows/nix-build/badge.svg)
Interactively browse the dependency graph of your Nix derivations.
[![asciicast](https://asciinema.org/a/ahDveBL1gs5t36z1myePtrKpR.svg)](https://asciinema.org/a/ahDveBL1gs5t36z1myePtrKpR)