Skip to content

Fix #129 loadRawPackage works with submodules on Windows #18

Fix #129 loadRawPackage works with submodules on Windows

Fix #129 loadRawPackage works with submodules on Windows #18

Workflow file for this run

name: Apply stan
on:
pull_request:
workflow_dispatch:
jobs:
build:
name: Apply stan
runs-on: ubuntu-latest
steps:
- name: Clone project
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.stack
key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('stack.yaml') }}
- name: Install stan
run: |
git clone https://github.com/kowainik/stan.git
cd stan
stack --local-bin-path ../.bin install
cd ..
- name: Generate .hie for analysis
run: stack build pantry:lib
- name: Run stan
run: .bin/stan report --cabal-file-path=pantry.cabal
- name: Upload HTML report
uses: actions/upload-artifact@v4
with:
name: Stan_report
path: stan.html