-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- stored phpstorm settings - configured dependabot
- Loading branch information
Showing
14 changed files
with
567 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,13 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Docker pull | ||
run: docker-compose pull php | ||
- name: Docker caching | ||
uses: satackey/[email protected] | ||
continue-on-error: true | ||
- name: Start PHP container | ||
run: docker-compose up --detach --build --no-deps php | ||
- name: Run composer validate | ||
run: docker-compose run --rm --no-deps php composer validate --strict --no-interaction --ansi | ||
run: docker-compose exec -T php composer validate --strict --no-interaction --ansi | ||
run-php-cs-fixer: | ||
name: php-cs-fixer | ||
runs-on: ubuntu-latest | ||
|
@@ -19,16 +24,21 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Docker pull | ||
run: docker-compose pull php | ||
- name: Docker caching | ||
uses: satackey/[email protected] | ||
continue-on-error: true | ||
- name: Composer caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./build/.composer | ||
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer-v1- | ||
- name: Start PHP container | ||
run: docker-compose up --detach --build --no-deps php | ||
- name: Install dependencies | ||
run: docker-compose run --rm --no-deps php composer --no-scripts install --no-interaction --ansi | ||
run: docker-compose exec -T php composer --no-scripts install --no-interaction --ansi | ||
- name: Run php-cs-fixer | ||
run: docker-compose run --rm --no-deps php bin/php-cs-fixer fix --diff --dry-run --ansi --config=.php-cs-fixer.dist.php | ||
run: docker-compose exec -T php bin/php-cs-fixer fix --diff --dry-run --ansi --config=.php-cs-fixer.dist.php | ||
run-phpunit: | ||
name: phpunit | ||
runs-on: ubuntu-latest | ||
|
@@ -37,16 +47,21 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Docker pull | ||
run: docker-compose pull | ||
- name: Docker caching | ||
uses: satackey/[email protected] | ||
continue-on-error: true | ||
- name: Composer caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./build/.composer | ||
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer-v1- | ||
- name: Start containers | ||
run: docker-compose up --detach --build | ||
- name: Install dependencies | ||
run: docker-compose run --rm php composer install --no-scripts --no-interaction --ansi | ||
run: docker-compose exec -T php composer install --no-scripts --no-interaction --ansi | ||
- name: Run phpunit | ||
run: docker-compose run --rm php xphp bin/phpunit --color=always --configuration=phpunit.xml.dist | ||
run: docker-compose exec -T php xphp bin/phpunit --color=always --configuration=phpunit.xml.dist | ||
- name: Upload coverage report to codecov.io | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
|
@@ -61,16 +76,21 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Docker pull | ||
run: docker-compose pull php | ||
- name: Docker caching | ||
uses: satackey/[email protected] | ||
continue-on-error: true | ||
- name: Composer caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./build/.composer | ||
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer-v1- | ||
- name: Start PHP container | ||
run: docker-compose up --detach --build --no-deps php | ||
- name: Install dependencies | ||
run: docker-compose run --rm --no-deps php composer install --no-interaction --ansi | ||
run: docker-compose exec -T php composer install --no-interaction --ansi | ||
- name: Run rector | ||
run: docker-compose run --rm --no-deps php bin/rector --no-progress-bar --dry-run --ansi | ||
run: docker-compose exec -T php bin/rector --no-progress-bar --dry-run --ansi | ||
run-deptrac: | ||
name: deptrac | ||
runs-on: ubuntu-latest | ||
|
@@ -79,13 +99,18 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Docker pull | ||
run: docker-compose pull php | ||
- name: Docker caching | ||
uses: satackey/[email protected] | ||
continue-on-error: true | ||
- name: Composer caching | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./build/.composer | ||
key: ${{ runner.os }}-composer-v1-${{ hashFiles('composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer-v1- | ||
- name: Start PHP container | ||
run: docker-compose up --detach --build --no-deps php | ||
- name: Install dependencies | ||
run: docker-compose run --rm --no-deps php composer install --no-scripts --no-interaction --ansi | ||
run: docker-compose exec -T php composer install --no-scripts --no-interaction --ansi | ||
- name: Run deptrac | ||
run: docker-compose run --rm --no-deps php bin/deptrac --no-progress --no-interaction --cache-file=./build/.deptrac/.deptrac.cache --ansi | ||
run: docker-compose exec -T php bin/deptrac --no-progress --no-interaction --cache-file=./build/.deptrac/.deptrac.cache --ansi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# Build artifacts | ||
/build/ | ||
|
||
# Managed by IDE | ||
.idea/ | ||
|
||
# Managed by Composer | ||
/bin/* | ||
/vendor/ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.