mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-24 17:50:58 -05:00
fixed code
This commit is contained in:
parent
89309d6582
commit
d845528ee6
1 changed files with 12 additions and 44 deletions
56
.github/workflows/stack-linter.yml
vendored
56
.github/workflows/stack-linter.yml
vendored
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
#############################
|
||||
#############################
|
||||
## CI/CT/CD GitHub Actions ##
|
||||
#############################
|
||||
#############################
|
||||
name: Source Linter
|
||||
############################
|
||||
############################
|
||||
## Preflight Stack Linter ##
|
||||
############################
|
||||
############################
|
||||
|
||||
#
|
||||
# Documentation:
|
||||
|
@ -14,7 +13,7 @@ name: Source Linter
|
|||
#############################
|
||||
# Start the job on all push #
|
||||
#############################
|
||||
on: ['push']
|
||||
on: ["push"]
|
||||
|
||||
###############
|
||||
# Set the Job #
|
||||
|
@ -22,7 +21,7 @@ on: ['push']
|
|||
jobs:
|
||||
build:
|
||||
# Name the Job
|
||||
name: Source linter
|
||||
name: Stack linter
|
||||
# Set the agent to run on
|
||||
runs-on: ubuntu-latest
|
||||
##################
|
||||
|
@ -35,39 +34,8 @@ jobs:
|
|||
- name: Checkout Code
|
||||
uses: actions/checkout@master
|
||||
|
||||
#####################
|
||||
# Install Ruby Libs #
|
||||
#####################
|
||||
- name: Set up Ruby
|
||||
uses: actions/setup-ruby@master
|
||||
with:
|
||||
ruby-version: 2.6.x
|
||||
|
||||
####################
|
||||
# Install NPM Libs #
|
||||
####################
|
||||
- name: Setup NPM
|
||||
uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 10.x
|
||||
|
||||
#################################
|
||||
# Install all base dependancies #
|
||||
#################################
|
||||
- name: Install Dependencies
|
||||
shell: bash
|
||||
run: ./.automation/install-deps.sh
|
||||
|
||||
#############################################
|
||||
# Run the markup and markdown linter script #
|
||||
#############################################
|
||||
- name: Run Markup and Markdown Linter
|
||||
shell: bash
|
||||
run: ./.automation/markup-markdown-linter.sh
|
||||
|
||||
###################################
|
||||
# Run the scripting linter script #
|
||||
###################################
|
||||
- name: Run Scripting Linter
|
||||
shell: bash
|
||||
run: ./.automation/scripting-linter.sh
|
||||
################################
|
||||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: docker://admiralawkbar/super-linter:latest
|
||||
|
|
Loading…
Reference in a new issue