diff options
| author | LLLL Colonq <llll@colonq> | 2023-11-16 19:06:43 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2023-11-16 19:06:43 -0500 |
| commit | dcef0b65069fb38fd0f6c4382353167f603ebff1 (patch) | |
| tree | 45954ffe308c3dd056e6af4f734e6d2af89e5856 /deps/irc-conduit/.github/workflows/ci.yaml | |
Initial commit
Diffstat (limited to 'deps/irc-conduit/.github/workflows/ci.yaml')
| -rw-r--r-- | deps/irc-conduit/.github/workflows/ci.yaml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/irc-conduit/.github/workflows/ci.yaml b/deps/irc-conduit/.github/workflows/ci.yaml new file mode 100644 index 0000000..9034267 --- /dev/null +++ b/deps/irc-conduit/.github/workflows/ci.yaml @@ -0,0 +1,31 @@ +name: Run tests + +on: pull_request + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: haskell/actions/setup@v2.4.3 + with: + enable-stack: true + - name: Setup + run: | + stack --no-terminal install stylish-haskell hlint + - name: Lint + run: | + set -ex + stack --no-terminal exec -- hlint --no-summary . + stack --no-terminal exec -- find . -name '*.hs' -exec stylish-haskell -i {} \; + git diff --exit-code + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: haskell/actions/setup@v2.4.3 + with: + enable-stack: true + - name: Build + run: | + stack --no-terminal build |
