Skip to content

Commit 592c579

Browse files
committed
Add linter
1 parent 49808df commit 592c579

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

.github/workflows/lint-generic.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Lint
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
8+
# -----------------------------------------------------------------------------------------------
9+
# JOB (1/1): Lint
10+
# -----------------------------------------------------------------------------------------------
11+
lint:
12+
name: lint
13+
runs-on: ubuntu-latest
14+
steps:
15+
16+
- name: "[SETUP] Checkout repository"
17+
uses: actions/checkout@v2
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Lint Files
22+
uses: cytopia/shell-command-retry-action@v0.1.2
23+
with:
24+
command: |
25+
make lint-files
26+
27+
- name: Lint Yaml
28+
uses: cytopia/shell-command-retry-action@v0.1.2
29+
with:
30+
command: |
31+
make lint-yaml
32+
33+
- name: Lint JSON
34+
uses: cytopia/shell-command-retry-action@v0.1.2
35+
with:
36+
command: |
37+
make lint-json
38+
39+
- name: Lint Bash
40+
uses: cytopia/shell-command-retry-action@v0.1.2
41+
with:
42+
command: |
43+
make lint-bash

0 commit comments

Comments
 (0)