Skip to content

Commit 62437ec

Browse files
Remove deprecation from ci workflow
1 parent cef0ae9 commit 62437ec

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ jobs:
2121
coverage: 'none'
2222
- name: Get Composer Cache Directory
2323
id: composer-cache
24-
run: |
25-
echo "::set-output name=dir::$(composer config cache-files-dir)"
24+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_ENV
2625
- name: Cache dependencies
2726
uses: actions/cache@v3
2827
with:
29-
path: ${{ steps.composer-cache.outputs.dir }}
30-
key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}"
31-
restore-keys: |
32-
${{ runner.os }}-composer-
28+
path: ${{ env.dir }}
29+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-composer-
3332
- name: run composer
3433
run: composer update --prefer-lowest --prefer-dist --no-interaction --no-progress -W
3534
- run: xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd Brianvarskonst/ruleset.xml

0 commit comments

Comments
 (0)