-
-
Notifications
You must be signed in to change notification settings - Fork 216
50 lines (41 loc) · 967 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
41
42
43
44
45
46
47
48
49
50
---
###
### Lints all generic and json files in the whole git repository
###
name: linting
on:
pull_request:
push:
branches:
- master
tags:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: False
matrix:
target:
- Linting
name: "[ ${{ matrix.target }} ]"
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Lint files
run: |
make _lint-files
- name: "Check equal version in CHANGELOG.md, setup.py and pwncat -v"
run: |
make _lint-version
- name: "Check equal usage in README.md and pwncat -h"
run: |
make _lint-usage
- name: Check up-to-date docs
run: |
make _lint-docs
- name: Check up-to-date man page
run: |
make _lint-man
- name: Check up-to-date GitHub Action workflow pipelines
run: |
make _lint-pipeline