Skip to content

Commit

Permalink
add haskell-actions github CI setup step
Browse files Browse the repository at this point in the history
  • Loading branch information
agentm committed May 26, 2024
1 parent dca74d2 commit 2b2b2d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
env:
STACK_YAML: stack.${{ matrix.ghc }}.yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -56,6 +56,12 @@ jobs:
run: rm -rf ~/.stack/setup-exe-cache
# - name: HLint
# run: curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s .
- name: Setup Stack
uses: haskell-actions/setup@v2
with:
enable-stack: true
ghc-version: ${{ matrix.ghc }}
cabal-version: 3.10.2.1
- name: Build
run: stack build --ghc-options -O2 --local-bin-path out --copy-bins
- name: Test
Expand Down

0 comments on commit 2b2b2d7

Please sign in to comment.