-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (46 loc) · 1.71 KB
/
lint.yml
File metadata and controls
56 lines (46 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
# -------------------------------------------------------------------------------------------------
# Job Name
# -------------------------------------------------------------------------------------------------
name: lint
# -------------------------------------------------------------------------------------------------
# When to run
# -------------------------------------------------------------------------------------------------
on:
# Runs on Pull Requests
pull_request:
# -------------------------------------------------------------------------------------------------
# What to run
# -------------------------------------------------------------------------------------------------
jobs:
# -----------------------------------------------------------------------------------------------
# JOB (1/1): Lint
# -----------------------------------------------------------------------------------------------
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: "[SETUP] Checkout repository"
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Lint Files
uses: cytopia/shell-command-retry-action@v0.1.6
with:
command: |
make -f Makefile.lint lint-files
- name: Lint Yaml
uses: cytopia/shell-command-retry-action@v0.1.6
with:
command: |
make -f Makefile.lint lint-yaml
- name: Lint JSON
uses: cytopia/shell-command-retry-action@v0.1.6
with:
command: |
make -f Makefile.lint lint-json
- name: Lint Bash
uses: cytopia/shell-command-retry-action@v0.1.6
with:
command: |
make -f Makefile.lint lint-bash