Skip to content

Commit

Permalink
Add GitHub Actions using cachix (#232)
Browse files Browse the repository at this point in the history
* Add GitHub Actions using cachix

* Update meta
  • Loading branch information
chshersh authored and vrom911 committed Oct 10, 2019
1 parent f99876a commit 5fdb17f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "tomland: nix + cachix"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: cachix/install-nix-action@v3
- uses: cachix/cachix-action@v2
with:
name: kowainik
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ cabal.project.local
.stack-work/
stack.yaml.lock

# Nix
result

### IDE/support
# Vim
[._]*.s[a-v][a-z]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# tomland

![palm](https://user-images.githubusercontent.com/4276606/51088259-7a777000-176e-11e9-9d76-6be4023c0ac3.png)
[![GitHub actions](https://github.com/actions/kowainik/tomland/.github/workflows/build.yml/badge.svg)](https://github.com/kowainik/tomland/actions)
[![Build status](https://img.shields.io/travis/kowainik/tomland.svg?logo=travis)](https://travis-ci.org/kowainik/tomland)
[![Hackage](https://img.shields.io/hackage/v/tomland.svg?logo=haskell)](https://hackage.haskell.org/package/tomland)
[![Stackage LTS](http://stackage.org/package/tomland/badge/lts)](http://stackage.org/lts/package/tomland)
Expand Down
5 changes: 5 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> {}
}:
pkgs.haskellPackages.developPackage {
root = ./.;
}

0 comments on commit 5fdb17f

Please sign in to comment.