Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Matthew Pickering's avatar
    6555b68c
    Move linters into the tree · 6555b68c
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    This MR moves the GHC linters into the tree, so that they can be run directly using Hadrian.
    
    * Query all files tracked by Git instead of using changed files, so that we can run the exact same linting step locally and in a merge request.
    * Only check that the changelogs don't contain TBA when RELEASE=YES.
    * Add hadrian/lint script, which runs all the linting steps.
    * Ensure the hlint job exits with a failure if hlint is not installed (otherwise we were ignoring the failure). Given that hlint doesn't seem to be available in CI at the moment, I've temporarily allowed failure in the hlint job.
    * Run all linting tests in CI using hadrian.
    6555b68c
    History
    Move linters into the tree
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    This MR moves the GHC linters into the tree, so that they can be run directly using Hadrian.
    
    * Query all files tracked by Git instead of using changed files, so that we can run the exact same linting step locally and in a merge request.
    * Only check that the changelogs don't contain TBA when RELEASE=YES.
    * Add hadrian/lint script, which runs all the linting steps.
    * Ensure the hlint job exits with a failure if hlint is not installed (otherwise we were ignoring the failure). Given that hlint doesn't seem to be available in CI at the moment, I've temporarily allowed failure in the hlint job.
    * Run all linting tests in CI using hadrian.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
To find the state of this project's repository at the time of any of these versions, check out the tags.