Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
# TODO: Upgrade to PHP 8.5 when VCR releases a version compatible with it
php-version: '8.3'
php-version: '8.5'
- name: install dependencies
run: make install
- name: lint
Expand All @@ -23,10 +22,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# TODO: Add 8.4/8.5 when VCR releases a version compatible with it
phpversion: ['8.1', '8.2', '8.3']
phpversion: ['8.1', '8.2', '8.3', '8.4', '8.5']
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.phpversion }}
Expand All @@ -35,7 +33,7 @@ jobs:
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v5
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.phpversion }}-composer-${{ hashFiles('**/composer.lock') }}
Expand All @@ -53,17 +51,16 @@ jobs:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
# TODO: Upgrade to PHP 8.5 when VCR releases a version compatible with it
php-version: '8.3'
php-version: '8.5'
- name: Install Dependencies
run: make install
- name: Generate Docs
run: make docs
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require-dev": {
"allejo/php-vcr-sanitizer": "^1.1",
"php-coveralls/php-coveralls": "^2.7",
"php-vcr/php-vcr": "^1.8",
"php-vcr/php-vcr": "^1.8.2",
"phpunit/phpunit": "^10",
"squizlabs/php_codesniffer": "^3.11",
"roave/security-advisories": "dev-latest",
Expand Down
Loading