Skip to content

Commit

Permalink
CI: upgrade workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jul 27, 2023
1 parent 1a05665 commit 5ed6e7d
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 291 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
291 changes: 0 additions & 291 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
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
@@ -0,0 +1,30 @@
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"

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

0 comments on commit 5ed6e7d

Please sign in to comment.