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-10-23 11:17:46 -04:00
|
|
|
on: ["push"]
|
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
|
|
|
|
uses: actions/checkout@master
|
|
|
|
|
2019-10-23 11:17:46 -04:00
|
|
|
################################
|
|
|
|
# Run Linter against code base #
|
|
|
|
################################
|
|
|
|
- name: Lint Code Base
|
|
|
|
uses: docker://admiralawkbar/super-linter:latest
|