Skip to content

Commit fb07969

Browse files
ohmyfelixf3l1x
authored andcommitted
ci: rework workflows to use contributte templates
1 parent 00abaea commit fb07969

File tree

5 files changed

+76
-207
lines changed

5 files changed

+76
-207
lines changed

.github/workflows/codesniffer.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Codesniffer"
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
push:
8+
branches: ["*"]
9+
10+
schedule:
11+
- cron: "0 8 * * 1"
12+
13+
jobs:
14+
codesniffer:
15+
name: "Codesniffer"
16+
uses: contributte/.github/.github/workflows/codesniffer.yml@master
17+
with:
18+
php: "8.4"

.github/workflows/coverage.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@ name: "Coverage"
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- ".docs/**"
75
workflow_dispatch:
86

97
push:
108
branches: ["*"]
119

1210
schedule:
13-
- cron: "0 9 * * 1"
11+
- cron: "0 8 * * 1"
1412

1513
jobs:
1614
coverage:
1715
name: "Nette Tester"
1816
uses: contributte/.github/.github/workflows/nette-tester-coverage-v2.yml@master
1917
with:
20-
php: "8.3"
18+
php: "8.4"
19+
make: "coverage-clover"

.github/workflows/main.yaml

Lines changed: 0 additions & 203 deletions
This file was deleted.

.github/workflows/phpstan.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Phpstan"
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
push:
8+
branches: ["*"]
9+
10+
schedule:
11+
- cron: "0 8 * * 1"
12+
13+
jobs:
14+
phpstan:
15+
name: "Phpstan"
16+
uses: contributte/.github/.github/workflows/phpstan.yml@master
17+
with:
18+
php: "8.4"

.github/workflows/tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Nette Tester"
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
push:
8+
branches: ["*"]
9+
10+
schedule:
11+
- cron: "0 8 * * 1"
12+
13+
jobs:
14+
test84:
15+
name: "Nette Tester"
16+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
17+
with:
18+
php: "8.4"
19+
20+
test83:
21+
name: "Nette Tester"
22+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
23+
with:
24+
php: "8.3"
25+
26+
test82:
27+
name: "Nette Tester"
28+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
29+
with:
30+
php: "8.2"
31+
32+
testlower:
33+
name: "Nette Tester"
34+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
35+
with:
36+
php: "8.2"
37+
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"

0 commit comments

Comments
 (0)