Skip to content

Commit

Permalink
Merge pull request #32 from kivikakk/nix-in-ci
Browse files Browse the repository at this point in the history
workflows: use Nix.
  • Loading branch information
kivikakk authored Aug 28, 2023
2 parents b4e72bb + 14f6dcc commit fcb8c03
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ jobs:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: stack build
- run: stack test
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build and test
run: nix build
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ cabal-dev
.cabal-sandbox/
cabal.sandbox.config
cabal.config
stack.yaml.lock
.stack-work/
dist-newstyle
/result
/result-*
3 changes: 0 additions & 3 deletions stack.yaml

This file was deleted.

0 comments on commit fcb8c03

Please sign in to comment.