2019-10-21 10:12:50 -04:00
|
|
|
---
|
2019-10-23 11:17:46 -04:00
|
|
|
############################
|
|
|
|
############################
|
|
|
|
## Preflight Stack Linter ##
|
|
|
|
############################
|
|
|
|
############################
|
2019-10-21 10:12:50 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Documentation:
|
|
|
|
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
|
|
|
|
#
|
|
|
|
|
|
|
|
#############################
|
|
|
|
# Start the job on all push #
|
|
|
|
#############################
|
2019-11-08 10:17:10 -05:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- 'master'
|
2019-10-21 10:12:50 -04:00
|
|
|
|
|
|
|
###############
|
|
|
|
# Set the Job #
|
|
|
|
###############
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
# Name the Job
|
2019-10-23 11:17:46 -04:00
|
|
|
name: Stack linter
|
2019-10-21 10:12:50 -04:00
|
|
|
# Set the agent to run on
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
##################
|
|
|
|
# Load all steps #
|
|
|
|
##################
|
|
|
|
steps:
|
|
|
|
##########################
|
|
|
|
# Checkout the code base #
|
|
|
|
##########################
|
|
|
|
- name: Checkout Code
|
2020-06-18 13:38:48 -04:00
|
|
|
uses: actions/checkout@v2
|
2019-10-21 10:12:50 -04:00
|
|
|
|
2019-10-23 11:17:46 -04:00
|
|
|
################################
|
|
|
|
# Run Linter against code base #
|
|
|
|
################################
|
|
|
|
- name: Lint Code Base
|
2020-06-18 15:09:33 -04:00
|
|
|
uses: docker://github/super-linter:latest
|
2020-04-29 08:48:12 -04:00
|
|
|
env:
|
|
|
|
VALIDATE_ALL_CODEBASE: false
|