Skip to content

Commit c2507b5

Browse files
committed
CI: modernize
1 parent 004b0a9 commit c2507b5

File tree

4 files changed

+36
-5
lines changed

4 files changed

+36
-5
lines changed

.github/workflows/codesniffer.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: "Codesniffer"
22

33
on:
44
pull_request:
5+
workflow_dispatch:
56

67
push:
78
branches: ["*"]
@@ -12,4 +13,6 @@ on:
1213
jobs:
1314
codesniffer:
1415
name: "Codesniffer"
15-
uses: contributte/.github/.github/workflows/codesniffer.yml@v1
16+
uses: contributte/.github/.github/workflows/codesniffer.yml@master
17+
with:
18+
php: "8.2"

.github/workflows/coverage.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Coverage"
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+
coverage:
15+
name: "Nette Tester"
16+
uses: contributte/.github/.github/workflows/nette-tester-coverage-v2.yml@master
17+
with:
18+
php: "8.2"

.github/workflows/phpstan.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: "Phpstan"
22

33
on:
44
pull_request:
5+
workflow_dispatch:
56

67
push:
78
branches: ["*"]
@@ -12,4 +13,6 @@ on:
1213
jobs:
1314
phpstan:
1415
name: "Phpstan"
15-
uses: contributte/.github/.github/workflows/phpstan.yml@v1
16+
uses: contributte/.github/.github/workflows/phpstan.yml@master
17+
with:
18+
php: "8.2"

.github/workflows/tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: "Nette Tester"
22

33
on:
44
pull_request:
5+
workflow_dispatch:
56

67
push:
78
branches: [ "*" ]
@@ -10,21 +11,27 @@ on:
1011
- cron: "0 8 * * 1"
1112

1213
jobs:
14+
test83:
15+
name: "Nette Tester"
16+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
17+
with:
18+
php: "8.3"
19+
1320
test82:
1421
name: "Nette Tester"
15-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
22+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
1623
with:
1724
php: "8.2"
1825

1926
test81:
2027
name: "Nette Tester"
21-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
28+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
2229
with:
2330
php: "8.1"
2431

2532
testlower:
2633
name: "Nette Tester"
27-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
34+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
2835
with:
2936
php: "8.1"
3037
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"

0 commit comments

Comments
 (0)