File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # ##########################
3+ # ##########################
4+ # # Linter GitHub Actions ##
5+ # ##########################
6+ # ##########################
7+ name : Lint Code Base
8+
9+ #
10+ # Documentation:
11+ # https://help.github.com/en/articles/workflow-syntax-for-github-actions
12+ #
13+
14+ # ############################
15+ # Start the job on all push #
16+ # ############################
17+ on :
18+ push :
19+ branches-ignore : [master]
20+ # Remove the line above to run when pushing to master
21+ pull_request :
22+ branches : [master]
23+
24+ # ##############
25+ # Set the Job #
26+ # ##############
27+ jobs :
28+ build :
29+ # Name the Job
30+ name : Lint Code Base
31+ # Set the agent to run on
32+ runs-on : ubuntu-latest
33+
34+ # #################
35+ # Load all steps #
36+ # #################
37+ steps :
38+ # #########################
39+ # Checkout the code base #
40+ # #########################
41+ - name : Checkout Code
42+ uses : actions/checkout@v2
43+ with :
44+ # Full git history is needed to get a proper list of changed files within `super-linter`
45+ fetch-depth : 0
46+
47+ # ###############################
48+ # Run Linter against code base #
49+ # ###############################
50+ - name : Lint Code Base
51+ uses : github/super-linter@v3
52+ env :
53+ VALIDATE_ALL_CODEBASE : false
54+ DEFAULT_BRANCH : master
55+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments