-
Notifications
You must be signed in to change notification settings - Fork 19
59 lines (47 loc) · 1.37 KB
/
check-style.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
51
52
53
54
55
56
57
58
name: Check-style-workflow
on:
pull_request:
branches:
- master
- MIHO/*V3*
types: [opened, synchronize, reopened, edited]
push:
jobs:
Check-style:
runs-on: windows-latest
if: contains(github.event.pull_request.body, 'The workflow check-style was intentionally skipped.') == false
steps:
- uses: actions/checkout@master
- name: Check licenses
working-directory: src
run: powershell .\CheckLicenses.ps1
if: always()
- name: Install .NET core 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
if: always()
- name: Install tools for style
working-directory: src
run: powershell .\InstallToolsForStyle.ps1
if: always()
- name: Check headers
working-directory: src
run: powershell .\CheckHeaders.ps1
if: always()
- name: Check format
working-directory: src
run: powershell .\CheckFormat.ps1
if: always()
- name: Check bite-sized
working-directory: src
run: powershell .\CheckBiteSized.ps1
if: always()
- name: Check dead code
working-directory: src
run: powershell .\CheckDeadCode.ps1
if: always()
- name: Check TODOs
working-directory: src
run: powershell .\CheckTodos.ps1
if: always()