Skip to content

Commit 1290721

Browse files
committed
CI: modernize
1 parent 650ff6a commit 1290721

File tree

4 files changed

+29
-19
lines changed

4 files changed

+29
-19
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: "Coverage"
22

33
on:
44
pull_request:
5+
workflow_dispatch:
56

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

.github/workflows/phpstan.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: "PHPStan"
1+
name: "Phpstan"
22

33
on:
44
pull_request:
5+
workflow_dispatch:
56

67
push:
78
branches: ["*"]
@@ -11,5 +12,7 @@ on:
1112

1213
jobs:
1314
phpstan:
14-
name: "PHPStan"
15-
uses: contributte/.github/.github/workflows/phpstan.yml@v1
15+
name: "Phpstan"
16+
uses: contributte/.github/.github/workflows/phpstan.yml@master
17+
with:
18+
php: "8.2"

.github/workflows/tests.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,36 @@ name: "Nette Tester"
22

33
on:
44
pull_request:
5+
workflow_dispatch:
56

67
push:
7-
branches: ["*"]
8+
branches: [ "*" ]
89

910
schedule:
1011
- cron: "0 8 * * 1"
1112

1213
jobs:
13-
test82:
14+
test83:
1415
name: "Nette Tester"
15-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
16+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
1617
with:
17-
php: "8.2"
18+
php: "8.3"
1819

19-
test81:
20+
test82:
2021
name: "Nette Tester"
21-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
22+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
2223
with:
23-
php: "8.1"
24+
php: "8.2"
2425

25-
test80:
26+
test81:
2627
name: "Nette Tester"
27-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
28+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
2829
with:
29-
php: "8.0"
30+
php: "8.1"
3031

31-
test-lowest:
32+
testlower:
3233
name: "Nette Tester"
33-
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
34+
uses: contributte/.github/.github/workflows/nette-tester.yml@master
3435
with:
35-
php: "8.0"
36-
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"
36+
php: "8.1"
37+
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"

0 commit comments

Comments
 (0)