We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b940f93 commit b52862eCopy full SHA for b52862e
.github/workflows/php-package.yml
@@ -2,6 +2,7 @@ name: PHP Package
2
env:
3
PHAR_TOOL_VERSION: 1.4.0
4
PHAR_TOOL_REPOSITORY: clue/phar-composer
5
+ DEFAULT_PHP_VERSION: 8.3
6
on:
7
push:
8
pull_request:
@@ -15,8 +16,16 @@ jobs:
15
16
- name: Setup PHP
17
uses: shivammathur/setup-php@v2
18
with:
- php-version: 8.2
19
+ php-version: ${{ env.DEFAULT_PHP_VERSION }}
20
tools: composer:v2
21
+ - name: Composer Cache
22
+ id: composer-cache
23
+ run: |
24
+ echo "cache_directory=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
25
+ - uses: actions/cache@v4
26
+ with:
27
+ path: ${{ steps.composer-cache.outputs.cache_directory }}
28
+ key: ${{ runner.os }}-composer
29
- run: composer install
30
shell: bash
31
- run: composer format:check
0 commit comments