Skip to content

Commit

Permalink
💚 Update CI
Browse files Browse the repository at this point in the history
- Add PHP 8.3 to tests
- Upgrade PHP version for doc generation
- Upgrade some GH actions
  • Loading branch information
amcintosh committed Mar 27, 2024
1 parent c65b1f3 commit 30abd78
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.2'
- name: Install dependencies
run: |
composer install --prefer-dist --no-progress
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']

steps:
- name: Setup
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "FreshBooks API wrapper",
"type": "library",
"require": {
"php": ">=8.0 <8.3",
"php": ">=8.0 <8.4",
"php-http/client-common": "^2.5",
"php-http/discovery": "^1.14",
"psr/http-client": "^1.0",
Expand Down

0 comments on commit 30abd78

Please sign in to comment.