Skip to content
activity

GitHub Action

42 Norminette

v3.3.53 Latest version

42 Norminette

activity

42 Norminette

Check 42 Norm with norminette linter

Installation

Copy and paste the following snippet into your .yml file.

              

- name: 42 Norminette

uses: alexandregv/norminette-action@v3.3.53

Learn more about this action in alexandregv/norminette-action

Choose a version

norminette-action@v3

This GitHub Action checks if your code passes the 42School's norminette linter, after each push.
See a demo on alexandregv/norminette-action-demo.

/!\ This Action supports all norminette versions. You should specify the exact version, for example v3.3.51. Check your campus rules to find the version you should use.
@v3 always refers to the latest v3.x.y.

For v2 use norminette-action@v2

Inputs

flags

Description: Flags passed to norminette.
Format: [options] <path>
Default: . (all files)

Example usage

# .github/workflows/main.yml
on: [push, pull_request]

jobs:
  norminette_job:
    runs-on: ubuntu-latest
    name: norminette
    steps:
    - uses: actions/checkout@v2
    - uses: alexandregv/norminette-action@v3
      with:
        flags: '.'

Badge

You can add a badge (norminette) to show current norminette status by adding this markdown code to your README.md:

![norminette](https://github.com/<OWNER>/<REPOSITORY>/workflows/<WORKFLOW_NAME_OR_FILE>/badge.svg)

More infos on GitHub Docs.

See also

All of these are compatible with Norm version 2 and 3.

Stargazers over time

Stargazers over time