diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml index 7d0ec9aa6..491df58e3 100644 --- a/.github/workflows/analyse.yml +++ b/.github/workflows/analyse.yml @@ -27,11 +27,14 @@ jobs: phpstan-cache-${{ hashFiles('phpstan.neon.dist', 'composer.json') }}- phpstan-cache- - - uses: myparcelnl/actions/pdk-setup-backend@v4 - id: setup + - uses: myparcelnl/actions/pdk-setup-upgrade@v4 if: steps.phpstan-cache.outputs.cache-hit != 'true' + id: setup with: + app-id: ${{ secrets.MYPARCEL_APP_ID }} + private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }} php-version: ${{ vars.PHP_VERSION }} + mode: 'backend' - name: 'Run PHPStan analysis' if: steps.phpstan-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e27df717f..3f42e6c43 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -34,7 +34,7 @@ jobs: - test - analyse steps: - - uses: myparcelnl/actions/pdk-prerelease-pr@v4 + - uses: myparcelnl/actions/pdk-prerelease@v4 with: app-id: ${{ secrets.MYPARCEL_APP_ID }} private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 39d4fc589..c449dcdd2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -24,7 +24,7 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: myparcelnl/actions/pdk-prerelease-push@v4 + - uses: myparcelnl/actions/pdk-prerelease@v4 with: app-id: ${{ secrets.MYPARCEL_APP_ID }} private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index be50b175e..b5012211d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,17 +24,12 @@ jobs: key: coverage-frontend-${{ hashFiles('**/package.json', '**/yarn.lock', 'views/**/*') }} path: coverage/views - - uses: myparcelnl/actions/pdk-setup-frontend@v4 - if: steps.coverage-cache.outputs.cache-hit != 'true' - - - uses: myparcelnl/actions/pdk-upgrade@v4 + - uses: myparcelnl/actions/pdk-setup-upgrade@v4 if: steps.coverage-cache.outputs.cache-hit != 'true' with: app-id: ${{ secrets.MYPARCEL_APP_ID }} private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }} - report: 'false' - no-check: true - no-commit: true + mode: 'frontend' - name: 'Run frontend tests' if: steps.coverage-cache.outputs.cache-hit != 'true' @@ -79,22 +74,14 @@ jobs: path: clover.xml key: coverage-backend-${{ hashFiles('**/composer.json', '**/composer.lock', 'src/**/*', 'tests/**/*') }} - - uses: myparcelnl/actions/pdk-setup@v4 - id: setup - if: steps.coverage-cache.outputs.cache-hit != 'true' - with: - php-version: ${{ vars.PHP_VERSION }} - composer-dev: 'true' - - - uses: myparcelnl/actions/pdk-upgrade@v4 + - uses: myparcelnl/actions/pdk-setup-upgrade@v4 if: steps.coverage-cache.outputs.cache-hit != 'true' + id: setup with: app-id: ${{ secrets.MYPARCEL_APP_ID }} private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }} - report: 'false' - no-check: true - no-commit: true - image: ${{ steps.setup.outputs.image }} + php-version: ${{ vars.PHP_VERSION }} + mode: 'backend' - uses: myparcelnl/actions/composer-pest@v4 if: steps.coverage-cache.outputs.cache-hit != 'true'