Skip to content

Commit

Permalink
Merge pull request #1 from agungsugiarto/upgrade-codeigniter
Browse files Browse the repository at this point in the history
upgrade codeigniter
  • Loading branch information
agungsugiarto authored Feb 1, 2021
2 parents 75d136b + 7cd633d commit 9393f12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:

strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4']
php-versions: ['7.3', '7.4', '8.0']

runs-on: ubuntu-latest

if: "!contains(github.event.head_commit.message, '[ci skip]')"

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: setup PHP
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extension: intl, json, mbstring, xdebug, xml
Expand All @@ -33,7 +33,7 @@ jobs:
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-source --no-progress --no-suggest

- name: Run test suite
run: composer test
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
}
],
"require": {
"php": "^7.2"
"php": "^7.3 || ^8.0",
"codeigniter4/framework": "^4.1"
},
"autoload": {
"psr-4": {
"Fluent\\Cors\\": "src"
}
},
"require-dev": {
"codeigniter4/framework": "^4.0",
"phpunit/phpunit": "^8.5"
"phpunit/phpunit": "^9.1"
},
"autoload-dev": {
"psr-4": {
Expand All @@ -30,7 +30,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
"dev-master": "1.x-dev"
}
},
"scripts": {
Expand Down

0 comments on commit 9393f12

Please sign in to comment.