From 5d660cac53c6d43aadf97516cbd6e5332b943b4e Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Fri, 3 Jan 2020 16:09:37 +0100 Subject: [PATCH 1/2] Upgrade GitHub actions --- .github/workflows/checks.yml | 4 ++-- .github/workflows/ci.yml | 10 ++++++---- .github/workflows/static.yml | 6 +++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 48ffa14..35695a6 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Install uses: docker://composer @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Roave BC Check uses: docker://nyholm/roave-bc-check-ga diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c2070ac..a77b98d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,17 +13,18 @@ jobs: steps: - name: Set up PHP - uses: shivammathur/setup-php@1.6.2 + uses: shivammathur/setup-php@1.7.0 with: php-version: '7.1' coverage: xdebug extensions: mbstring + tools: prestissimo - name: Setup Problem Matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Download dependencies run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --no-suggest --prefer-lowest @@ -41,16 +42,17 @@ jobs: steps: - name: Set up PHP - uses: shivammathur/setup-php@1.6.2 + uses: shivammathur/setup-php@1.7.0 with: php-version: ${{ matrix.php }} extensions: mbstring + tools: prestissimo - name: Setup Problem Matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Download dependencies run: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --no-suggest diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 9d15468..aa264e1 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -10,10 +10,10 @@ jobs: phpstan: name: PHPStan runs-on: ubuntu-latest - + steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: PHPStan uses: docker://oskarstark/phpstan-ga @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: PHP-CS-Fixer uses: docker://oskarstark/php-cs-fixer-ga From 88200d43678cba363add985b563267f903afd16b Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Fri, 3 Jan 2020 16:26:53 +0100 Subject: [PATCH 2/2] Disable Roave BC check for now See https://github.com/Roave/BackwardCompatibilityCheck/issues/37 --- .github/workflows/checks.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 35695a6..e2753b5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -25,13 +25,14 @@ jobs: with: args: composer normalize --dry-run - roave-bc-check: - name: Roave BC Check - runs-on: ubuntu-latest + # Disabled until https://github.com/Roave/BackwardCompatibilityCheck/issues/37 is resolved + # roave-bc-check: + # name: Roave BC Check + # runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 + # steps: + # - name: Checkout code + # uses: actions/checkout@v2 - - name: Roave BC Check - uses: docker://nyholm/roave-bc-check-ga + # - name: Roave BC Check + # uses: docker://nyholm/roave-bc-check-ga