Skip to content

feature: support to parse a whole sol file (#4) #14

feature: support to parse a whole sol file (#4)

feature: support to parse a whole sol file (#4) #14

Workflow file for this run

name: build-test-check
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: haskell-actions/setup@v2
with:
ghc-version: "9.4.8"
cabal-version: "3.10.2.0"
- name: Cabal cache
uses: actions/cache@v3
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Cabal update
run: cabal update
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test --test-show-details=direct