pass no-builds flag through to ghc-lib-build-tool #400
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: hlint-from-scratch | ||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
schedule: | ||
- cron: '0 0 * * *' # every day | ||
jobs: | ||
hlint-ghc-master-ghc-9.10.1: | ||
Check failure on line 10 in .github/workflows/hlint-from-scratch.yml GitHub Actions / hlint-from-scratchInvalid workflow file
|
||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu, macos, windows] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: haskell-actions/setup@v2 | ||
id: setup-haskell | ||
with: | ||
ghc-version: 9.10.1 | ||
cabal-version: 'latest' | ||
- name: Install build tools (macOS) | ||
run: brew install automake | ||
if: matrix.os == 'macos' | ||
- name: Configure msys2 (windows) | ||
shell: bash | ||
run: |- | ||
echo "MSYSTEM=CLANG64" >> $GITHUB_ENV | ||
echo "/c/mingw64/usr/bin" >> $GITHUB_PATH | ||
echo "/c/msys64/usr/bin" >> $GITHUB_PATH | ||
if: matrix.os == 'windows' | ||
- name: Run hlint-from-scratch (windows) | ||
shell: C:\msys64\usr\bin\bash.exe --noprofile --norc -e -o pipefail '{0}' | ||
run: |- | ||
GHCLIB_AZURE=1; export GHCLIB_AZURE | ||
pacman -S autoconf automake-wrapper make patch python tar mintty --noconfirm | ||
./hlint-from-scratch.sh --init="$HOME/project" | ||
./hlint-from-scratch.sh --ghc-flavor="" --no-checkout | ||
if: matrix.os == 'windows' | ||
- name: Run hlint-from-scratch (unix) | ||
shell: bash | ||
run: |- | ||
GHCLIB_AZURE=1; export GHCLIB_AZURE | ||
./hlint-from-scratch.sh --init="$HOME/project" | ||
./hlint-from-scratch.sh --ghc-flavor="" --no-checkout | ||
if: matrix.os == 'ubuntu' || matrix.os == 'macos' |