Skip to content

Commit

Permalink
Bunped up the version of the package
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 15, 2023
1 parent 6a95147 commit 8b03fd6
Show file tree
Hide file tree
Showing 4 changed files with 1,850 additions and 161 deletions.
49 changes: 36 additions & 13 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,38 @@
name: Quality
name: Quality (PHPStan level 9)
on: push
jobs:
cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Cs-Fixer
run: |
wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer
chmod a+x php-cs-fixer
PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer:v2
coverage: none
- name: Cs-Fixer
run: |
wget -q https://cs.symfony.com/download/php-cs-fixer-v3.phar -O php-cs-fixer
chmod a+x php-cs-fixer
PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: '**/vendor'
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: php-actions/composer@v6
with:
args: --prefer-dist
php_version: '8.2'
- name: PHPStan
uses: php-actions/phpstan@v3
with:
path: src/
level: 9
php_version: '8.2'
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
"require": {
"php": "^8.2",
"psr/log": "^3.0",
"php-etl/action-contracts": "0.1.*",
"php-etl/satellite-contracts": "0.1.*"
"php-etl/action-contracts": "0.2.*",
"php-etl/satellite-contracts": "0.1.*",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.0"
},
"require-dev": {
"rector/rector": "^0.15.0"
Expand All @@ -37,7 +39,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "0.1.x-dev"
"dev-main": "0.2.x-dev"
}
}
}
Loading

0 comments on commit 8b03fd6

Please sign in to comment.