Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 081b211

Browse files
committed
fixing linter
1 parent 5fbc69d commit 081b211

File tree

1 file changed

+25
-46
lines changed

1 file changed

+25
-46
lines changed

.github/workflows/stack-linter.yml

Lines changed: 25 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
2-
#############################
3-
#############################
4-
## CI/CT/CD GitHub Actions ##
5-
#############################
6-
#############################
7-
name: Source Linter
2+
########################
3+
########################
4+
## Source Code Linter ##
5+
########################
6+
########################
7+
name: Source Code Linter
88

99
#
1010
# Documentation:
@@ -14,60 +14,39 @@ name: Source Linter
1414
#############################
1515
# Start the job on all push #
1616
#############################
17-
on: ['push']
17+
# Dont need to run on push to master
18+
on:
19+
push:
20+
branches-ignore:
21+
- 'master'
1822

1923
###############
2024
# Set the Job #
2125
###############
2226
jobs:
2327
build:
2428
# Name the Job
25-
name: Source linter
29+
name: Source Code Linter
30+
2631
# Set the agent to run on
2732
runs-on: ubuntu-latest
33+
2834
##################
2935
# Load all steps #
3036
##################
3137
steps:
38+
3239
##########################
3340
# Checkout the code base #
3441
##########################
3542
- name: Checkout Code
36-
uses: actions/checkout@master
37-
38-
#####################
39-
# Install Ruby Libs #
40-
#####################
41-
- name: Set up Ruby
42-
uses: actions/setup-ruby@master
43-
with:
44-
ruby-version: 2.6.x
45-
46-
####################
47-
# Install NPM Libs #
48-
####################
49-
- name: Setup NPM
50-
uses: actions/setup-node@master
51-
with:
52-
node-version: 10.x
53-
54-
#################################
55-
# Install all base dependancies #
56-
#################################
57-
- name: Install Dependencies
58-
shell: bash
59-
run: ./.automation/install-deps.sh
60-
61-
#############################################
62-
# Run the markup and markdown linter script #
63-
#############################################
64-
- name: Run Markup and Markdown Linter
65-
shell: bash
66-
run: ./.automation/markup-markdown-linter.sh
67-
68-
###################################
69-
# Run the scripting linter script #
70-
###################################
71-
- name: Run Scripting Linter
72-
shell: bash
73-
run: ./.automation/scripting-linter.sh
43+
uses: actions/checkout@v2
44+
45+
################################
46+
# Run Linter against code base #
47+
################################
48+
- name: Lint Code Base
49+
uses: github/super-linter@v3
50+
env:
51+
VALIDATE_ALL_CODEBASE: false
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)