norminette-action demo · norminette

This is a simple demo for norminette-action, a GitHub Action for 42School's norminette linter.

Demo

You can see two C files, ok.c and ko.c, which are obviously a correct and incorrect file regarding to 42's Norm.

The third and only important file is .github/workflows/norminette.yml, which contains CI workflow.
Here I defined two jobs, each for one version of the Norm. The only difference is @v2/@v3 on lines 12 and 19.

You can check CI results on each commit, or with the Actions button at the top of the repository.
I also added a badge at the top of this README.

Screenshot

See also

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