Skip to content

--no-builds --cabal #54

--no-builds --cabal

--no-builds --cabal #54

name: hlint-from-scratch
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # end of every day
jobs:
hlint-from-scratch-ubuntu:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
steps:
- uses: actions/checkout@v4
- run: brew install automake
if: matrix.os == 'macos'
- run: cabal update
# - run: cabal new-install cabal-install --overwrite-policy=always
- run: cabal new-install apply-refact
if: matrix.os == 'ubuntu'
- run: |-
echo "GHCLIB_AZURE='1'" >> $GITHUB_ENV
echo "repo_dir=$HOME/project" >> $GITHUB_ENV
shell: bash
- run: ./hlint-from-scratch.sh --init="$repo_dir"
shell: bash
- run: ./hlint-from-scratch.sh --repo-dir="$repo_dir" --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.6.4 --no-checkout --no-builds
shell: bash