Skip to content

Commit

Permalink
chore(deps): bump mongolid and mongolid-laravel to v3.3-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
orlandocavassani committed Oct 18, 2022
1 parent 4601fa1 commit f255f84
Show file tree
Hide file tree
Showing 5 changed files with 358 additions and 550 deletions.
42 changes: 30 additions & 12 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
on: [push]
name: Tests
name: Continuous Integration
on:
- pull_request
- push
jobs:
setup-and-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
testing:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
php:
- "7.3"
- "7.4"
services:
db:
image: mongo:4.2
ports:
- "27017:27017"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Build containers
run: docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)
- name: PHP setup
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- name: Composer install
run: docker-compose run --rm -T php composer install --no-interaction --no-progress
- name: Composer
uses: ramsey/composer-install@v2

- name: Run Tests
run: docker-compose run --rm -T php vendor/bin/phpunit
- name: Run Tests
run: vendor/bin/phpunit
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.3|^8.0",
"php": "^7.3",
"ext-json": "*",
"ext-mongodb": "*",
"firebase/php-jwt": "^5.0",
Expand All @@ -33,8 +33,8 @@
"illuminate/support": "^8.2",
"lcobucci/jwt": "^3.4|^4.0",
"league/oauth2-server": "~8.2.0",
"leroy-merlin-br/mongolid": "v3.1.0",
"leroy-merlin-br/mongolid-laravel": "v3.0.0",
"leroy-merlin-br/mongolid": "v3.3-beta",
"leroy-merlin-br/mongolid-laravel": "v3.3-beta",
"mongodb/mongodb": "1.8.0",
"nyholm/psr7": "^1.3",
"phpseclib/phpseclib": "^2.0",
Expand Down
Loading

0 comments on commit f255f84

Please sign in to comment.