Repository to document and discuss the haskell-actions organization
The logo, which also serves as its profile picture, is based on the Thompson-Wheeler logo.
Reusable GitHub Action to run hlint in a workflow. Use with haskell-actions/hlint-setup.
License: MIT License
Repository to document and discuss the haskell-actions organization
The logo, which also serves as its profile picture, is based on the Thompson-Wheeler logo.
With hlint-run
, I'm able to pass in folders to this action doing the equivalent of:
hlint src/
Using the action how would we pass options like --cpp-define
and --cpp-simple
?
hlint src/ --cpp-define=WINDOWS=1
hlint test/ --cpp-simple
(cloned from haskell/actions#277 by request of @andreasabel )
Does the hlint-run
action currently support .hlint.yaml
files? If so, what is the recommended way to pass the .hlint.yaml
file to the action?
I have the following project structure:
/
├─ .github/
│ ├─ workflows/
│ │ ├─ hlint.yaml
├─ project/
│ ├─ src/
│ ├─ project.cabal
│ ├─ .hlint.yml
Here is .hlint.yaml
:
- ignore: {name: Redundant bracket}
Here is (the relevant part of) .github/workflows/hlint.yaml
:
name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
hlint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: project
steps:
- uses: actions/checkout@v3
- name: 'Set up HLint'
uses: haskell/actions/hlint-setup@v2
- name: 'Run HLint'
uses: haskell/actions/hlint-run@v2
with:
path: .
fail-on: never
In CI, the hlint-run
action is successful, but I still get a "redundant bracket" warning. Locally, running hlint
automatically detects the .hlint.yaml
file and suppresses the warning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.