Skip to content

Commit

Permalink
Change supported versions (#32)
Browse files Browse the repository at this point in the history
* Change version constraints

* Update action workflows
  • Loading branch information
duncanmcclean authored Dec 29, 2022
1 parent 29eb298 commit d124dfa
Show file tree
Hide file tree
Showing 4 changed files with 1,822 additions and 1,872 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
tools: composer:v2

Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,19 @@ on:
jobs:
php_tests:
if: "!contains(github.event.head_commit.message, 'changelog')"

runs-on: ${{ matrix.os }}

strategy:
matrix:
php: [8.1, 8.0, 7.4]
laravel: [9.*, 8.*]
statamic: [^3.2, ^3.3]
php: [8.1, 8.2]
laravel: [9.*]
statamic: [^3.3]
os: [ubuntu-latest]
include:
- laravel: 9.*
framework: ^9.1.0
testbench: 7.*
- laravel: 8.*
framework: ^8.24.0
testbench: 6.*
exclude:
- laravel: 9.*
statamic: ^3.2
- laravel: 9.*
php: 7.4

name: ${{ matrix.php }} - ${{ matrix.statamic }} - ${{ matrix.laravel }}

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
}
},
"require": {
"php": "^7.4 || ^8.0 || ^8.1",
"php": "^8.1",
"statamic/cms": "3.2.* || 3.3.*"
},
"require-dev": {
"nunomaduro/collision": "^4.2 || ^5.0 || ^6.1",
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0",
"nunomaduro/collision": "^6.1",
"orchestra/testbench": "^7.0",
"spatie/test-time": "^1.2"
},
"scripts": {
Expand Down
Loading

0 comments on commit d124dfa

Please sign in to comment.