-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (49 loc) · 1.22 KB
/
main.yml
File metadata and controls
54 lines (49 loc) · 1.22 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
name: CI
on:
pull_request:
branches:
- main
paths:
- "**.yml"
- "tests/**"
jobs:
format:
name: Check format
uses: ./.github/workflows/prettier.yml
with:
pattern: "**/*.yml"
test-beautysh:
name: Test workflow (beautysh)
needs: format
uses: ./.github/workflows/beautysh.yml
with:
dir: tests/workflows
params: --force-function-style fnpar --indent-size 2 --variable-style braces
exclude: tests/workflows/excluded.sh,*pattern.sh
test-mkdocs:
name: Test workflow (mkdocs)
needs: format
uses: ./.github/workflows/mkdocs.yml
with:
plugins: mkdocs-literate-nav
params: --strict
test-php-cs-fixer:
name: Test workflow (php-cs-fixer)
needs: format
uses: ./.github/workflows/php-cs-fixer.yml
with:
params: --dry-run -v --rules=@Symfony .
test-prettier:
name: Test workflow (prettier)
needs: format
uses: ./.github/workflows/prettier.yml
with:
pattern: "**/*.json"
test-shellcheck:
name: Test workflow (shellcheck)
needs: format
uses: ./.github/workflows/shellcheck.yml
with:
dir: tests/workflows
severity: info
exclude: tests/workflows/excluded.sh,*pattern.sh