You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This GitHub Action checks if your code passes the 42School's norminette linter, after each push.
4
+
See a demo on [alexandregv/norminette-action-demo](https://github.com/alexandregv/norminette-action-demo).
5
+
6
+
**/!\\ This version (`@v2`) is for Norm version 2, if you want Norm version 3 please use [norminette-action@v3](https://github.com/alexandregv/norminette-action/tree/v3) /!\\**
7
+
8
+
## Inputs
9
+
10
+
### `flags`
11
+
12
+
Description: Flags passed to norminette.
13
+
Format: `[options] <path>`
14
+
Default: `.` (all files)
15
+
16
+
## Example usage
17
+
18
+
```yml
19
+
# .github/workflows/main.yml
20
+
on: [push, pull_request]
21
+
22
+
jobs:
23
+
norminette_job:
24
+
runs-on: ubuntu-latest
25
+
name: norminette
26
+
steps:
27
+
- uses: actions/checkout@v2
28
+
- uses: alexandregv/norminette-action@v2
29
+
with:
30
+
flags: '.'
31
+
```
32
+
33
+
## Badge
34
+
35
+
You can add a badge () to show current norminette status by adding this markdown code to your README.md:
0 commit comments