File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ # ################################
3+ # ################################
4+ # # Super Linter GitHub Actions ##
5+ # ################################
6+ # ################################
7+ name : Lint Code Base
8+
9+ #
10+ # Documentation:
11+ # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
12+ #
13+
14+ # ############################
15+ # Start the job on all push #
16+ # ############################
17+ on :
18+ push :
19+ branches :
20+ - main
21+ pull_request :
22+
23+ # ##############
24+ # Set the Job #
25+ # ##############
26+ jobs :
27+ build :
28+ # Name the Job
29+ name : Lint Code Base
30+ # Set the agent to run on
31+ runs-on : ubuntu-latest
32+
33+ # #################
34+ # Load all steps #
35+ # #################
36+ steps :
37+ # #########################
38+ # Checkout the code base #
39+ # #########################
40+ - name : Checkout Code
41+ uses : actions/checkout@v3.0.2
42+ with :
43+ # Full git history is needed to get a proper list
44+ # 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/slim@v4.9.4
52+ env :
53+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
54+ LINTER_RULES_PATH : .
You can’t perform that action at this time.
0 commit comments