Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
driftingly committed Dec 15, 2023
1 parent 20fc209 commit 4c00473
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 44 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
name: 'Composer Validate'
run: composer validate

-
name: 'Duster Lint'
run: composer lint

-
name: 'Rector Dry Run'
run: composer rector-dry-run

-
name: 'PHPStan'
run: composer phpstan
Expand All @@ -32,7 +40,7 @@ jobs:

- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none

- uses: ramsey/composer-install@v2
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/rector.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
tests:
runs-on: ubuntu-latest

name: PHP ${{ matrix.php }} tests
name: PHP 8.3 tests
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none

- uses: ramsey/composer-install@v2
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"fix-cs": "vendor/bin/duster fix",
"lint": "vendor/bin/duster lint",
"fix": "vendor/bin/duster fix",
"rector-dry-run": "vendor/bin/rector process --dry-run --ansi",
"rector": "vendor/bin/rector process --ansi",
"docs": [
"vendor/bin/rule-doc-generator generate src --output-file docs/rector_rules_overview.md --ansi"
]
Expand Down

0 comments on commit 4c00473

Please sign in to comment.