superlint/.github/workflows/stack-linter.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

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
uses: actions/checkout@v2.3.3
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-09-04 11:54:31 -04:00
uses: docker://ghcr.io/github/super-linter:latest
2020-04-29 08:48:12 -04:00
env:
VALIDATE_ALL_CODEBASE: false
2020-07-21 14:55:27 -04:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}