Skip to content

Commit

Permalink
chore: Added specific PHP Version to GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
holmey committed Jan 12, 2024
1 parent 0ecff15 commit 1aff8fc
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Install Composer dependencies
run: composer install
- name: Run PHPStan
Expand All @@ -24,10 +29,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout Repository
uses: actions/checkout@v3
with:
# Fetch the last 2 commits instead of just 1. (Fetching just 1 commit would overwrite the whole history)
fetch-depth: 2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Install Composer dependencies
run: composer install
- name: Run php-cs-fixer
Expand Down

0 comments on commit 1aff8fc

Please sign in to comment.