feat: Adds argument suggestion support for unknown arguments #143
Workflow file for this run
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
name: buildcheck | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: 0 10 1 * * | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: | |
- "7.3" | |
- "7.4" | |
- "8.0" | |
- "8.1" | |
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: Composer Validate | |
run: docker exec ci composer validate --strict | |
windows: | |
runs-on: windows-2019 | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
steps: | |
- uses: actions/checkout@master | |
- uses: nanasess/setup-php@master | |
- uses: nanasess/composer-installer-action@master | |
- name: Install dependencies | |
run: composer update | |
- name: Run test suite | |
run: vendor/bin/phpunit |