generated from uab-cgds-worthey/cgds_repo_template
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 881 Bytes
/
linting.yml
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
name: Linting- Markdown,Shell
on:
push:
workflow_dispatch:
jobs:
markdown-linting:
name: Markdown lint
runs-on: ubuntu-22.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: markdownlint-cli
uses: nosborn/github-action-markdown-cli@v3.3.0
with:
files: .
config_file: ".markdownlint.json"
# dot: false
# ignore_files: '".git*/**"'
markdown-check-links:
name: Markdown - checking links
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: ".markdownlint.json"
shellcheck:
name: Shellcheck
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master