feat(-A): prompt if the user tries to install an ignored package #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Haskell | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup GHC | |
uses: haskell/actions/setup@v2 | |
with: | |
ghc-version: "9.2.3" | |
enable-stack: true | |
stack-version: "latest" | |
- name: Clone project | |
uses: actions/checkout@v4 | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.stack | |
key: ${{ runner.os }}-stack-${{ hashFiles('haskell/stack.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-stack- | |
- name: Build and run tests | |
run: | | |
cd haskell/ | |
stack test --fast --no-terminal --system-ghc |