Skip to content

Commit

Permalink
full list of changes:
Browse files Browse the repository at this point in the history
- stored phpstorm settings
- configured dependabot
  • Loading branch information
alanbem committed Sep 5, 2021
1 parent cd3bb14 commit 95c4864
Show file tree
Hide file tree
Showing 14 changed files with 567 additions and 14 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
43 changes: 34 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
3 changes: 0 additions & 3 deletions .gitignore
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/
Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/laravel-plugin.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/php-test-framework.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 95c4864

Please sign in to comment.