Skip to content

Commit

Permalink
Merge pull request #191 from neos/dlubitz-patch-1
Browse files Browse the repository at this point in the history
Update github actions dependencies to latest version
  • Loading branch information
kdambekalns authored Dec 11, 2024
2 parents 0543574 + 2eefccb commit 8027c59
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
build:
env:
FLOW_PATH_ROOT: ../neos-base-distribution
PACKAGE_FOLDER: neos-seo

runs-on: ubuntu-latest

Expand All @@ -27,6 +28,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set package branch name
run: echo "PACKAGE_TARGET_VERSION=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
working-directory: .

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -48,7 +53,9 @@ jobs:
git clone --depth 1 --branch ${{ matrix.neos-version }} https://github.com/neos/neos-development-distribution.git ${FLOW_PATH_ROOT}
cd ${FLOW_PATH_ROOT}
composer config --no-plugins allow-plugins.neos/composer-plugin true
composer config repositories.package '{ "type": "path", "url": "../neos-seo", "options": { "symlink": false } }'
git -C ../${{ env.PACKAGE_FOLDER }} checkout -b ${PACKAGE_TARGET_VERSION}
composer config repositories.package '{ "type": "path", "url": "../${{ env.PACKAGE_FOLDER }}", "options": { "symlink": false } }'
composer require --no-update --no-interaction neos/seo:@dev
composer require --dev --no-update --no-interaction phpstan/phpstan:^1.10
Expand Down

0 comments on commit 8027c59

Please sign in to comment.