Skip to content

use weeder

use weeder #5

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