Skip to content

Commit 8487e5b

Browse files
committed
Use composer install
1 parent 2121f80 commit 8487e5b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,12 @@ jobs:
4545
uses: actions/cache@v2.1.2
4646
with:
4747
path: ${{ steps.composer-cache.outputs.dir }}
48-
key: ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('composer.json') }}
48+
key: ${{ runner.os }}-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}
4949
restore-keys: ${{ runner.os }}-${{ matrix.php-version }}-composer-
5050

51-
- name: "Require symfony/flex"
52-
run: composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-main
53-
54-
- name: "Composer update"
51+
- name: "Composer install"
5552
id: install
56-
run: composer update --no-scripts
53+
run: composer install --no-interaction --no-progress --no-scripts
5754

5855
- name: Lint YAML files
5956
if: always() && steps.install.outcome == 'success'

0 commit comments

Comments
 (0)