Skip to content

chore(deps): update reviewdog/action-yamllint action to v1.18.0 #68

chore(deps): update reviewdog/action-yamllint action to v1.18.0

chore(deps): update reviewdog/action-yamllint action to v1.18.0 #68

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