Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

Commit 56ffb87

Browse files
committed
GitHub Super-Linter
1 parent 11242dd commit 56ffb87

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/linter.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
###########################
3+
###########################
4+
## Linter GitHub Actions ##
5+
###########################
6+
###########################
7+
name: Lint Code Base
8+
9+
#
10+
# Documentation:
11+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
12+
#
13+
14+
#############################
15+
# Start the job on all push #
16+
#############################
17+
on: [ push, pull_request ]
18+
19+
###############
20+
# Set the Job #
21+
###############
22+
jobs:
23+
build:
24+
# Name the Job
25+
name: Lint Code Base
26+
# Set the agent to run on
27+
runs-on: ubuntu-latest
28+
29+
##################
30+
# Load all steps #
31+
##################
32+
steps:
33+
##########################
34+
# Checkout the code base #
35+
##########################
36+
- name: Checkout Code
37+
uses: actions/checkout@v2
38+
39+
################################
40+
# Run Linter against code base #
41+
################################
42+
- name: Lint Code Base
43+
uses: docker://github/super-linter:v3
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)