Skip to content

Commit

Permalink
workflows: Add linters
Browse files Browse the repository at this point in the history
Add checkpatch, super-linter, spellcheck linters.

Signed-off-by: Maria Sfiraiala <[email protected]>
  • Loading branch information
mariasfiraiala authored and raresvis committed Jul 29, 2023
1 parent d34e884 commit 2ee3595
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Linting Workflow

on:
pull_request:
branches:
- master

jobs:
checkpatch:
name: Checkpatch
runs-on: ubuntu-latest
steps:
- name: 📥 Checkpatch
uses: security-summer-school/actions/checkpatch@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

super-linter:
name: Super Linter
runs-on: ubuntu-latest
steps:
- name: 📥 Super Linter
uses: security-summer-school/actions/super-linter@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

spellcheck:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- name: 📥 Spellcheck
uses: security-summer-school/actions/spellcheck@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2ee3595

Please sign in to comment.