Skip to content

chore(deps): update haskell-actions/setup action to v2.7.6 #67

chore(deps): update haskell-actions/setup action to v2.7.6

chore(deps): update haskell-actions/setup action to v2.7.6 #67

Workflow file for this run

name: Main CI
on:
pull_request:
branches:
- main
jobs:
deps-test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Cache .stack
id: cache-stack
uses: actions/[email protected]
with:
path: ~/.stack
key: ${{ runner.os }}-stack-${{ hashFiles('**/package.yaml') }}-${{ hashFiles('**/stack.yaml.lock') }}
restore-keys: |
${{ runner.os }}-stack-
- uses: haskell-actions/[email protected]
name: Setup Haskell
with:
ghc-version: 8.10.4 # stack.yamlのresolverに合わせて更新してください
enable-stack: true
stack-version: latest
- name: Install dependencies
run: stack --system-ghc test --only-dependencies
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Cache .stack
id: cache-stack
uses: actions/[email protected]
with:
path: ~/.stack
key: ${{ runner.os }}-stack-${{ hashFiles('**/package.yaml') }}-${{ hashFiles('**/stack.yaml.lock') }}
restore-keys: |
${{ runner.os }}-stack-
- uses: haskell-actions/[email protected]
name: Setup Haskell
with:
ghc-version: 8.10.4 # stack.yamlのresolverに合わせて更新してください
enable-stack: true
stack-version: latest
- name: Run test
run: stack --system-ghc test --pedantic