Skip to content

use weeder

use weeder #3

Workflow file for this run

name: Dead code
on:
push:
paths:
- '**.hs'
- '**.cabal'
branches:
- main
pull_request:
paths:
- '**.hs'
- '**.cabal'
branches:
- main
jobs:
gild:
name: Weeder
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- compiler: ghc-9.6.5
compilerKind: ghc
compilerVersion: 9.6.5
setup-method: ghcup
allow-failure: false
steps:
- uses: actions/checkout@v4
# - id: mycabal
# uses: freckle/stack-action@v3
- uses: freckle/weeder-action@v2
with:
ghc-version: ${{ matrix.compilerVersion }}
# - name: Install weeder
# run: |
# cabal update
# cabal install weeder
- run: |
scripts/validate/weeder.sh