Skip to content

Commit

Permalink
Laravel 11 support was added (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Peichev <[email protected]>
  • Loading branch information
helloween141 and Dmitry Peichev authored May 31, 2024
1 parent 54fc33f commit 45a3464
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs: # Docs: <https://git.io/JvxXE>
laravel: [default]
coverage: [yes]
php: ['8.1','8.2','8.3']
include:
- php: '8.1'
setup: [ basic, lowest ]
coverage: no
laravel: '^10.0'
steps:
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -37,7 +42,7 @@ jobs: # Docs: <https://git.io/JvxXE>
run: echo "output_dir=dir::$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies # Docs: <https://git.io/JfAKn#php---composer>
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.output_dir }}
key: ${{ runner.os }}-composer-${{ matrix.setup }}-${{ hashFiles('**/composer.json') }}
Expand Down Expand Up @@ -68,7 +73,7 @@ jobs: # Docs: <https://git.io/JvxXE>
XDEBUG_MODE: coverage
run: composer test-cover

- uses: codecov/codecov-action@v3 # Docs: <https://github.com/codecov/codecov-action>
- uses: codecov/codecov-action@v4 # Docs: <https://github.com/codecov/codecov-action>
if: matrix.coverage == 'yes'
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## Unreleased

### Added

- Laravel `11.x` support

### Changed

- Version of `composer` in docker container updated up to `2.7.6`
- Updated dev dependencies

## v3.6.0

### Changed
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM php:8.1-alpine
FROM php:8.3-alpine

ENV COMPOSER_HOME="/tmp/composer"

COPY --from=composer:2.6.6 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.7.6 /usr/bin/composer /usr/bin/composer

RUN set -x \
&& apk add --no-cache binutils git \
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"php": "^8.1",
"ext-json": "*",
"ext-mbstring": "*",
"fakerphp/faker": "^1.21"
"fakerphp/faker": "^1.23.1"
},
"require-dev": {
"avto-dev/extended-laravel-validator": "^3.7",
"avto-dev/identity-laravel": "^5.7",
"laravel/laravel": "^10.0",
"phpstan/phpstan": "^1.10",
"laravel/laravel": "~10.0 || ~11.0",
"phpstan/phpstan": "^1.10.66",
"phpunit/phpunit": "^10.5"
},
"autoload": {
Expand Down

0 comments on commit 45a3464

Please sign in to comment.