Skip to content

Commit

Permalink
Fix CI deprecations. (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala authored Nov 11, 2022
1 parent 83e8f07 commit 55413fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,28 @@ jobs:
extensions: intl, xsl

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- 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@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Cache php-cs-fixer data
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .php_cs_cache
key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.sha }}"
restore-keys: "php-${{ matrix.php-version }}-php-cs-fixer-"

- name: Cache phpstan data
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .phpstan_cache
key: "php-${{ matrix.php-version }}-phpstan-${{ github.sha }}"
Expand Down

0 comments on commit 55413fa

Please sign in to comment.