Skip to content

Commit a7fc145

Browse files
committed
Improve GitHub workflow configurations
1 parent cea4337 commit a7fc145

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/linting-dependencies.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,13 @@ jobs:
2121
php-version: 8.3
2222
tools: composer:v2
2323

24-
- name: Set Composer cache directory
25-
id: composer-cache
26-
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
27-
28-
- name: Cache Composer output
29-
uses: actions/cache@v4
30-
with:
31-
path: ${{ steps.composer-cache.outputs.dir }}
32-
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
33-
restore-keys: ${{ runner.os }}-composer-
34-
35-
- name: Install dependencies
36-
id: install
37-
run: composer install --ansi --no-interaction --no-progress
38-
3924
- name: Check if any Composer dependencies are compromised
40-
if: always() && steps.install.outcome == 'success'
4125
run: composer audit
4226

4327
# This check always shows a success state (due to `continue-on-error`),
4428
# even when there are outdated recipes. Please check the result when
4529
# updating Composer dependencies.
4630
# todo fail when composer.lock changed and there is an outdated recipe
4731
- name: Check if any Symfony recipes are outdated
48-
if: always() && steps.install.outcome == 'success'
4932
continue-on-error: true
5033
run: composer recipes --outdated

0 commit comments

Comments
 (0)