This action will check if the student/user code comply with the norminette rules.
- In your Github repository create a
.yml
file under the directory.github/workflows/<filename>.yml
- Or use the following command to create it in your local repository:
mkdir -p .github/workflows/norm-checker.yml
- Finally paste the bellow yml code in your the previously creaed file.
- Now your code is going to be automatically checked whenever you push it to your github repo.
Here's an example of a workflow that uses the norm checker action. The workflow is triggered by a 'PUSH'
name: Norm Checker
on: [push]
jobs:
build:
name: Checking Norm Errors
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: achrafelkhnissi/[email protected]
-
@achrafelkhnissi
| Software Engineer StudentReach out to me if you need any help or have any questions.