Skip to content

Commit e197a18

Browse files
authored
Merge pull request #274 from mimmi20/updates
update pipeline
2 parents 8575277 + 8df3bc8 commit e197a18

File tree

4 files changed

+83
-16
lines changed

4 files changed

+83
-16
lines changed

.editorconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ indent_style = space
1313
indent_size = 4
1414
trim_trailing_whitespace = true
1515

16-
[*.{js,ts,cjs,cts,mjs,mts,json,json5,yml}]
16+
[*.{js,ts,cjs,cts,mjs,mts,json,json5,yaml,yml}]
1717
indent_size = 2
1818

19-
[composer.json]
20-
indent_size = 4
21-
2219
[*.md]
2320
indent_size = 2
2421
trim_trailing_whitespace = false

.gitattributes

Lines changed: 56 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,89 @@
1-
# file-version: 2.0
1+
# Declare files that will always have LF line endings on checkout.
2+
3+
# file-version: 3.0
24

3-
# text files
45
* text=auto
5-
*.markdown text eol=lf
6-
*.md text eol=lf
6+
7+
# Javascript & Typescript
78
*.js text eol=lf
89
*.ts text eol=lf
910
*.cjs text eol=lf
1011
*.cts text eol=lf
1112
*.mjs text eol=lf
1213
*.mts text eol=lf
14+
15+
# CSS & SCSS
1316
*.css text eol=lf
1417
*.scss text eol=lf
18+
19+
# Json
1520
*.json text eol=lf
1621
*.json5 text eol=lf
17-
*.lock text eol=lf
18-
*.html text eol=lf
19-
*.php text eol=lf
22+
23+
# Markdown
24+
*.markdown text eol=lf
25+
*.md text eol=lf
26+
27+
# Yaml
2028
*.yml text eol=lf
2129
*.yaml text eol=lf
30+
31+
# other
2232
*.xml text eol=lf
23-
*.dist text eol=lf
33+
*.lock text eol=lf
2434
*.txt text eol=lf
2535
*.ini text eol=lf
2636
*.sh text eol=lf
2737
*.stub text eol=lf
2838
*.tmp text eol=lf
39+
*.dist text eol=lf
40+
*.lock text eol=lf
41+
*.html text eol=lf
42+
*.phtml text eol=lf
43+
*.php text eol=lf
2944

30-
# binary files
45+
# Denote all files that are truly binary and should not be modified.
46+
*.gpg -text binary
47+
*.gpg~ -text binary
48+
*.asc -text binary
49+
*.png -text binary
50+
*.jpg -text binary
51+
*.gif -text binary
52+
*.pdf -text binary
53+
*.ico -text binary
54+
*.odt -text binary
55+
*.eot -text binary
56+
*.ttf -text binary
57+
*.woff -text binary
58+
*.woff2 -text binary
59+
*.swf -text binary
60+
*.mp4 -text binary
61+
*.ogv -text binary
62+
*.webm -text binary
63+
*.exe -text binary
3164
*.zip -text binary
3265

3366
# files/folders to ignore
3467
/.* export-ignore
3568
.github/CODEOWNERS export-ignore text eol=lf
69+
.browserslistrc export-ignore text eol=lf
3670
.codeclimate.yml export-ignore text eol=lf
3771
.editorconfig export-ignore text eol=lf
72+
.eslintignore export-ignore text eol=lf
73+
.eslintrc.json export-ignore text eol=lf
3874
.gitattributes export-ignore text eol=lf
3975
.gitignore export-ignore text eol=lf
76+
.jshintrc export-ignore text eol=lf
4077
.markdown-link-check.json export-ignore text eol=lf
4178
.markdownlint.yaml export-ignore text eol=lf
4279
.mega-linter.yml export-ignore text eol=lf
80+
.noai export-ignore text eol=lf
81+
.npmrc export-ignore text eol=lf
4382
.php-cs-fixer.php export-ignore text eol=lf
4483
.phplint.yml export-ignore text eol=lf
84+
.prettierignore export-ignore text eol=lf
85+
.prettierrc.json export-ignore text eol=lf
86+
.stylelintrc.json export-ignore text eol=lf
4587
.yamllint.yml export-ignore text eol=lf
4688
codecov.yml export-ignore text eol=lf
4789
infection.json export-ignore text eol=lf
@@ -51,8 +93,13 @@ phpmd.ruleset.xml export-ignore text eol=lf
5193
phpstan.neon export-ignore text eol=lf
5294
phpunit.xml export-ignore text eol=lf
5395
phpunit-integration.xml export-ignore text eol=lf
96+
postcss.config.cjs export-ignore text eol=lf
97+
postcss.config.json export-ignore text eol=lf
5498
psalm.xml export-ignore text eol=lf
5599
rector.php export-ignore text eol=lf
100+
tsconfig.json export-ignore text eol=lf
101+
tsconfig.node.json export-ignore text eol=lf
102+
vite.config.ts export-ignore text eol=lf
56103
/cache export-ignore
57104
/examples export-ignore
58105
/resources export-ignore

.github/workflows/cleanup-caches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
cleanup:
15-
runs-on: "ubuntu-20.04"
15+
runs-on: "ubuntu-22.04"
1616
steps:
1717
- name: "Checkout"
1818
uses: "actions/checkout@v4"

.github/workflows/continuous-integration.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
matrix:
7171
operating-system:
72-
- "ubuntu-20.04"
72+
- "ubuntu-22.04"
7373

7474
php-version:
7575
- "8.1"
@@ -127,7 +127,7 @@ jobs:
127127

128128
matrix:
129129
operating-system:
130-
- "ubuntu-20.04"
130+
- "ubuntu-22.04"
131131

132132
php-version:
133133
- "8.1"
@@ -192,6 +192,29 @@ jobs:
192192
coverageLocations: ".build/coverage/clover.xml:clover"
193193
debug: false
194194

195+
- name: "Upload coverage to Coveralls"
196+
uses: "coverallsapp/github-action@v2"
197+
with:
198+
github-token: "${{ secrets.GITHUB_TOKEN }}"
199+
flag-name: "php ${{ matrix.php-version }} on ${{ matrix.operating-system }}"
200+
parallel: true
201+
file: ".build/coverage/clover.xml"
202+
format: "clover"
203+
debug: false
204+
205+
finish-code-coverage:
206+
runs-on: "ubuntu-22.04"
207+
208+
needs: "code-coverage"
209+
210+
if: always()
211+
212+
steps:
213+
- name: "Coveralls Finished"
214+
uses: "coverallsapp/github-action@v2"
215+
with:
216+
parallel-finished: true
217+
195218
# This is a meta job to avoid to have to constantly change the protection rules
196219
# whenever we touch the matrix.
197220
tests-status:

0 commit comments

Comments
 (0)