Add Svix as bronze sponsor (#17783) #1
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: Samples Haskell | |
on: | |
push: | |
paths: | |
- samples/server/petstore/haskell-yesod/** | |
- samples/server/petstore/haskell-servant/** | |
- samples/client/petstore/haskell-http-client/** | |
pull_request: | |
paths: | |
- samples/server/petstore/haskell-yesod/** | |
- samples/server/petstore/haskell-servant/** | |
- samples/client/petstore/haskell-http-client/** | |
jobs: | |
build: | |
name: Build stack projects | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
# servers | |
- samples/server/petstore/haskell-yesod/ | |
- samples/server/petstore/haskell-servant/ | |
- samples/client/petstore/haskell-http-client/ | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: haskell/actions/setup@v2 | |
with: | |
# ghc-version: '8.8.4' # Exact version of ghc to use | |
# cabal-version: 'latest'. Omitted, but defaults to 'latest' | |
enable-stack: true | |
stack-version: 'latest' | |
- name: stack test | |
working-directory: ${{ matrix.sample }} | |
run: stack test |