File tree 2 files changed +56
-1
lines changed
2 files changed +56
-1
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
+
44
+ # ###############################
45
+ # Run Linter against code base #
46
+ # ###############################
47
+ - name : Lint Code Base
48
+ uses : github/super-linter@v3
49
+ env :
50
+ VALIDATE_ALL_CODEBASE : false
51
+ DEFAULT_BRANCH : master
52
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 16
16
17
17
Learning data structures, algorithms, machine learning and various computer science constructs by programming practice from resources around the web.
18
18
19
- [ ![ Discord] ( https://img.shields.io/discord/611637065913729036 )] ( https://discord.gg/bv5FU8t ) [ ![ CircleCI] ( https://circleci.com/gh/computer-science-engineering/learning-computer-science/tree/master.svg?style=svg )] ( https://circleci.com/gh/computer-science-engineering/learning-computer-science/tree/master ) [ ![ Actions Status] ( https://github.com/computer-science-engineering/learning-computer-science/workflows/build-test/badge.svg )] ( https://github.com/computer-science-engineering/learning-computer-science/actions ) [ ![ codecov] ( https://codecov.io/gh/computer-science-engineering/learning-computer-science/branch/master/graph/badge.svg )] ( https://codecov.io/gh/computer-science-engineering/learning-computer-science )
19
+ [ ![ Discord] ( https://img.shields.io/discord/611637065913729036 )] ( https://discord.gg/bv5FU8t ) [ ![ CircleCI] ( https://circleci.com/gh/computer-science-engineering/learning-computer-science/tree/master.svg?style=svg )] ( https://circleci.com/gh/computer-science-engineering/learning-computer-science/tree/master )
20
+ [ ![ Actions Status] ( https://github.com/computer-science-engineering/learning-computer-science/workflows/build-test/badge.svg )] ( https://github.com/computer-science-engineering/learning-computer-science/actions )
21
+ [ ![ GitHub Super-Linter] ( https://github.com/computer-science-engineering/learning-computer-science/workflows/Lint%20Code%20Base/badge.svg )] ( https://github.com/computer-science-engineering/learning-computer-science/actions )
22
+ [ ![ codecov] ( https://codecov.io/gh/computer-science-engineering/learning-computer-science/branch/master/graph/badge.svg )] ( https://codecov.io/gh/computer-science-engineering/learning-computer-science )
20
23
21
24
[ More project metadata badges [ here] ( ./documentation/project/metadata.md ) . More CI/CD badges [ here] ( ./documentation/development/ci-cd.md#current-status ) .]
22
25
You can’t perform that action at this time.
0 commit comments