Skip to content

Commit

Permalink
use newer Haskell, add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
m4lvin committed Apr 12, 2024
1 parent 8b08d31 commit bb94774
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [push]

name: Build

jobs:
build:
name: Build and run tests
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v3
with:
key: stack
path: |
~/.stack
~/.stack-work
- uses: actions/checkout@v3
- name: Compile library
run: stack --system-ghc build
- name: Compile tests
run: stack --system-ghc test --no-run-tests
- name: Run tests
run: stack --system-ghc test
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: nightly-2023-04-01
resolver: lts-21.25

0 comments on commit bb94774

Please sign in to comment.