Skip to content

Commit

Permalink
CI: modernize workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Apr 11, 2023
1 parent a1371b3 commit 4684faf
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 269 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/codesniffer.yml
@@ -0,0 +1,15 @@
name: "Codesniffer"

on:
pull_request:

push:
branches: ["*"]

schedule:
- cron: "0 8 * * 1"

jobs:
codesniffer:
name: "Codesniffer"
uses: contributte/.github/.github/workflows/codesniffer.yml@v1
15 changes: 15 additions & 0 deletions .github/workflows/coverage.yml
@@ -0,0 +1,15 @@
name: "Coverage"

on:
pull_request:

push:
branches: ["*"]

schedule:
- cron: "0 8 * * 1"

jobs:
coverage:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester-coverage.yml@v1
269 changes: 0 additions & 269 deletions .github/workflows/main.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/phpstan.yml
@@ -0,0 +1,15 @@
name: "Phpstan"

on:
pull_request:

push:
branches: ["*"]

schedule:
- cron: "0 8 * * 1"

jobs:
phpstan:
name: "Phpstan"
uses: contributte/.github/.github/workflows/phpstan.yml@v1
36 changes: 36 additions & 0 deletions .github/workflows/tests.yml
@@ -0,0 +1,36 @@
name: "Nette Tester"

on:
pull_request:

push:
branches: [ "*" ]

schedule:
- cron: "0 8 * * 1"

jobs:
test82:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
with:
php: "8.2"

test81:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
with:
php: "8.1"

test80:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
with:
php: "8.0"

testlower:
name: "Nette Tester"
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
with:
php: "8.0"
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"

0 comments on commit 4684faf

Please sign in to comment.