Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/workflows/buildcheck.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: buildcheck

on:
push:
"on":
push: null
schedule:
- cron: 0 10 6 * *

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -19,32 +17,25 @@ jobs:
- "8.3"
- "8.4"
- "8.5"
- "8"
composer:
- ""
- "--prefer-lowest"

steps:
- uses: actions/checkout@v1

- name: Create Docker Container
run: |
docker build . -t ci-image --build-arg PHP_VERSION=${{ matrix.php }}
docker run --interactive --detach --volume ${{ github.workspace }}:/app --name ci ci-image

- name: Install Dependencies
run: docker exec ci composer update --no-interaction --no-ansi --prefer-dist ${{ matrix.composer }}

- name: PHPUnit
run: docker exec ci vendor/bin/phpunit

- name: PHPStan
run: docker exec ci vendor/bin/phpstan analyse --level=max src tests

- name: Coding Standards
run: docker exec ci vendor/bin/phpcs

- name: Check Dependencies
run: docker exec ci vendor/bin/composer-require-checker

- name: Composer Validate
run: docker exec ci composer validate --strict