Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow deprecations #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Tests

on:
push:
branches: [main, '[0-9]+.[0-9]']
pull_request:
branches: [main, '[0-9]+.[0-9]']

Expand Down Expand Up @@ -30,14 +29,14 @@ jobs:

steps:
- name: Checkout Neos base distribution
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: neos/neos-base-distribution
ref: ${{ matrix.neos-versions }}
path: ${{ env.NEOS_FOLDER }}

- name: Checkout package
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: ${{ env.PACKAGE_FOLDER}}/${{ env.PACKAGE_NAME }}

Expand All @@ -49,9 +48,9 @@ jobs:

- name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php${{ matrix.php-versions }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down