Skip to content

hanshazairi/42-norminette-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

42 Norminette Linter

Simple GitHub Action that runs latest-release 42 Norminette check upon trigger.

Usage

To trigger norminette on git push, set up a workflow and replace placeholder code with the below:

name: <workflow-name>
on: [push]
jobs:
  norminette:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: hanshazairi/42-norminette-action@v1.1.0
        # optional #
        with:
          exclude-dir: './<directory-to-exclude>'
        # optional #

Optionally, you may specify to exclude a directory from the Norminette check.

Next, you may choose to add a badge to your repo by adding the below to your README.md:

![](https://github.com/<username>/<remote-name>/workflows/<workflow-name>/badge.svg)

Constraints

This is currently a work in progress and therefore has its limitations.

  • Runs norminette without option to add flags

TODOs

  • Run norminette with flags