Skip to content

Commit

Permalink
Merge pull request #26 from pressbooks/composer-update
Browse files Browse the repository at this point in the history
Update composer/installers, add dependabot.yml
  • Loading branch information
SteelWagstaff authored Apr 16, 2022
2 parents 43b3df6 + c58a739 commit 3606f2d
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 95 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
# Maintain dependencies for Composer
- package-ecosystem: "composer"
# Look for `composer.json` and `composer.lock` files in the root directory
directory: "/"
# Check for updates weekly
schedule:
interval: "weekly"
allow:
# Allow direct updates only (for packages named in composer.json)
- dependency-type: "direct"
# Allow up to 10 open pull requests for composer dependencies
open-pull-requests-limit: 10
6 changes: 3 additions & 3 deletions .github/workflows/.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ 7.3, 7.4 ]
php: [ 7.4 ]
os: [ ubuntu-20.04 ]
wordpress: [ 5.9 ]
wordpress: [ 5.9.3, latest ]
experimental: [ false ]
include:
- php: 8.0
Expand Down Expand Up @@ -69,4 +69,4 @@ jobs:

- name: Upload Coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)
if: matrix.experimental == false && matrix.php == 7.3
if: matrix.experimental == false
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
},
"config": {
"platform": {
"php": "7.3"
"php": "7.4"
}
},
"require": {
"php": ">=7.3",
"composer/installers": "^1.4",
"phpcompatibility/php-compatibility": "^9.3"
"php": ">=7.4",
"composer/installers": "^2",
"phpcompatibility/php-compatibility": "^9.3"
},
"require-dev": {
"pressbooks/coding-standards": "^1.1",
Expand Down
Loading

0 comments on commit 3606f2d

Please sign in to comment.