From 3abe273cea1d6b3f752e616dd8732fbd03c1c513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 28 Nov 2022 15:17:55 +0100 Subject: [PATCH] Fix: Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 814eca49..0be147aa 100644 --- a/README.md +++ b/README.md @@ -224,8 +224,10 @@ If you like [GitHub Actions](https://github.com/features/actions), add a `coding + uses: "actions/cache@v2" + with: + path: "~/.build/php-cs-fixer" -+ key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.sha }}" -+ restore-keys: "php-${{ matrix.php-version }}-php-cs-fixer-" ++ key: "php-${{ matrix.php-version }}-php-cs-fixer-${{ github.ref_name }}" ++ restore-keys: | ++ php-${{ matrix.php-version }}-php-cs-fixer-main ++ php-${{ matrix.php-version }}-php-cs-fixer- + + - name: "Run friendsofphp/php-cs-fixer" + run: "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --dry-run --verbose"