File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-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
+ pull_request :
19
+ branches : [master]
20
+
21
+ # ##############
22
+ # Set the Job #
23
+ # ##############
24
+ jobs :
25
+ build :
26
+ # Name the Job
27
+ name : Lint Code Base
28
+ # Set the agent to run on
29
+ runs-on : ubuntu-latest
30
+
31
+ # #################
32
+ # Load all steps #
33
+ # #################
34
+ steps :
35
+ # #########################
36
+ # Checkout the code base #
37
+ # #########################
38
+ - name : Checkout Code
39
+ uses : actions/checkout@v2
40
+ with :
41
+ # Full git history is needed to get a proper list of changed files within `super-linter`
42
+ fetch-depth : 0
43
+
44
+ # ###############################
45
+ # Run Linter against code base #
46
+ # ###############################
47
+ - name : Lint Code Base
48
+ uses : github/super-linter@v4
49
+ env :
50
+ VALIDATE_ALL_CODEBASE : false
51
+ DEFAULT_BRANCH : master
52
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
+ JAVASCRIPT_DEFAULT_STYLE : prettier
You can’t perform that action at this time.
0 commit comments