chore: add github action linter

main
Tran Hau 2021-01-12 01:47:28 +07:00
parent c7c788e503
commit 45122eccad
1 changed files with 19 additions and 0 deletions

19
.github/workflows/linter.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Lint Code Base
on: [push, pull_request]
jobs:
lint:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v3
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}