Skip to content

Commit

Permalink
Merge pull request #342 from juhp/add-build-ci
Browse files Browse the repository at this point in the history
add GH action to build the project
  • Loading branch information
chreekat authored Feb 3, 2025
2 parents baddf10 + d5cc9bd commit 8001335
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Haskell GHC
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
enable-stack: true
stack-no-global: true
- uses: actions/cache@v4
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-${{ hashFiles('**/*.cabal','**/stack.yaml') }}
restore-keys: |
${{ runner.os }}-
- run: stack build

0 comments on commit 8001335

Please sign in to comment.