This repository was archived by the owner on Feb 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint Code Base
2+
3+ # ############################
4+ # Start the job on all push #
5+ # ############################
6+ on :
7+ push :
8+ branches-ignore : [master]
9+ # Remove the line above to run when pushing to master
10+ paths : [ 'src/MudBlazor.CustomLibrary/**' ]
11+ pull_request :
12+ branches : [master]
13+ paths : [ 'src/MudBlazor.CustomLibrary/**' ]
14+ workflow_dispatch :
15+
16+ # ##############
17+ # Set the Job #
18+ # ##############
19+ jobs :
20+ build :
21+ # Name the Job
22+ name : Lint Code Base
23+ # Set the agent to run on
24+ runs-on : ubuntu-latest
25+
26+ # #################
27+ # Load all steps #
28+ # #################
29+ steps :
30+ # #########################
31+ # Checkout the code base #
32+ # #########################
33+ - name : Checkout Code
34+ uses : actions/checkout@v2
35+ with :
36+ # Full git history is needed to get a proper list of changed files within `super-linter`
37+ fetch-depth : 0
38+
39+ # ###############################
40+ # Run Linter against code base #
41+ # ###############################
42+ - name : Lint Code Base
43+ 44+ env :
45+ LINTER_RULES_PATH : ' .'
46+ EDITORCONFIG_FILE_NAME : ' .editorconfig'
47+ VALIDATE_ALL_CODEBASE : false
48+ VALIDATE_CSHARP : true
49+ DEFAULT_BRANCH : master
50+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments