Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Reusable GitHub Action to set up hlint in a workflow. Use with haskell-actions/hlint-run.

License

NotificationsYou must be signed in to change notification settings

haskell-actions/hlint-setup

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

GitHub Action: Set uphlint.

Downloads a binary of HLint from@ndmitchell/hlint,caches it through@actions/tool-cache,and adds it intoPATH.

See alsohaskell-actions/hlint-run, which will runhlint and represent its output in GitHub annotations.

Inputs

  • version: The HLint version to download. Currently defaults to3.5.

    Note that on some virtual environments, some versions ofhlint need extra prerequisites installed.E.g., onubuntu-22.04, versionshlint < 3.5 need thelibncurses5 library (#128).

Outputs

  • hlint-dir: Resulting directory containing thehlint executable.
  • hlint-bin: Location of thehlint executable.
  • version: Version of thehlint tool (same as input, if provided).

Example

name:linton:pull_request:push:branches:      -master      -'releases/*'jobs:hlint:runs-on:ubuntu-lateststeps:    -uses:actions/checkout@v4    -name:'Set up HLint'uses:haskell-actions/hlint-setup@v2    -name:'Run HLint'uses:haskell-actions/hlint-run@v2with:path:src/fail-on:warning

About

Reusable GitHub Action to set up hlint in a workflow. Use with haskell-actions/hlint-run.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp