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:
|
2020-07-21 13:08:50 -04:00
|
|
|
branches: [master]
|
|
|
|
pull_request:
|
|
|
|
branches-ignore: []
|
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-11-04 00:43:17 -05:00
|
|
|
uses: actions/checkout@v2.3.4
|
2020-10-09 07:17:56 -04:00
|
|
|
with:
|
|
|
|
# Full git history is needed to get a proper list of changed files within `super-linter`
|
|
|
|
fetch-depth: 0
|
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
|
2021-01-30 00:06:59 -05:00
|
|
|
uses: github/super-linter@v3.14.5
|
2020-04-29 08:48:12 -04:00
|
|
|
env:
|
2020-10-14 04:59:34 -04:00
|
|
|
ACTIONS_RUNNER_DEBUG: true
|
2020-11-20 10:12:31 -05:00
|
|
|
ERROR_ON_MISSING_EXEC_BIT: true
|
2020-04-29 08:48:12 -04:00
|
|
|
VALIDATE_ALL_CODEBASE: false
|
2020-07-21 14:55:27 -04:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|