Skip to content

Commit

Permalink
refactor: Clean up run steps
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 31, 2024
1 parent b2225fa commit ec74097
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: php-actions/composer@v6
- name: Setup PHP
id: setup-php
uses: shivammathur/setup-php@v2
with:
php_version: 8.2
# Additional php_extensions are only needed if Craft itself will be run in CI (tests, etc)
#php_extensions: ctype curl dom iconv imagick intl json mbstring openssl pcre pdo reflection spl zip
php-version: 8.2
extensions: 'ctype,curl,dom,iconv,imagick,intl,json,mbstring,openssl,pcre,pdo,reflection,spl,zip'
ini-values: post_max_size=256M, max_execution_time=180, memory_limit=512M
tools: composer:v2
- name: Install Composer dependencies
run: composer install --no-interaction --no-ansi --no-progress
- run: ${{ matrix.actions.run }}

0 comments on commit ec74097

Please sign in to comment.