mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 16:21:00 -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 ##
|
## Preflight Stack Linter ##
|
||||||
#############################
|
############################
|
||||||
#############################
|
############################
|
||||||
name: Source Linter
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Documentation:
|
# Documentation:
|
||||||
|
@ -14,7 +13,7 @@ name: Source Linter
|
||||||
#############################
|
#############################
|
||||||
# Start the job on all push #
|
# Start the job on all push #
|
||||||
#############################
|
#############################
|
||||||
on: ['push']
|
on: ["push"]
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Set the Job #
|
# Set the Job #
|
||||||
|
@ -22,7 +21,7 @@ on: ['push']
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
# Name the Job
|
# Name the Job
|
||||||
name: Source linter
|
name: Stack linter
|
||||||
# Set the agent to run on
|
# Set the agent to run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
##################
|
##################
|
||||||
|
@ -35,39 +34,8 @@ jobs:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
|
||||||
#####################
|
################################
|
||||||
# Install Ruby Libs #
|
# Run Linter against code base #
|
||||||
#####################
|
################################
|
||||||
- name: Set up Ruby
|
- name: Lint Code Base
|
||||||
uses: actions/setup-ruby@master
|
uses: docker://admiralawkbar/super-linter:latest
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in a new issue