Skip to content

use weeder

use weeder #6

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
- run: |
echo "Current dir:"
pwd
echo "dir contents:"
ls
cabal update
cabal clean
cabal build -O0 -j all
- uses: freckle/weeder-action@v2
with:
ghc-version: ${{ matrix.compilerVersion }}