Skip to content

Commit ecacbd2

Browse files
committed
Add PHP 8.4 tests
1 parent 06bd3f7 commit ecacbd2

File tree

4 files changed

+47
-2
lines changed

4 files changed

+47
-2
lines changed

.docker/php/php84/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# ----------------------
2+
# The FPM base container
3+
# ----------------------
4+
FROM php:8.4-cli-alpine AS dev
5+
6+
RUN apk add --no-cache --virtual .build-deps \
7+
$PHPIZE_DEPS
8+
9+
# Cleanup apk cache and temp files
10+
RUN rm -rf /var/cache/apk/* /tmp/*
11+
12+
# ----------------------
13+
# Composer install step
14+
# ----------------------
15+
16+
# Get latest Composer
17+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
18+
19+
# ----------------------
20+
# The FPM production container
21+
# ----------------------
22+
FROM dev

.github/workflows/tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ jobs:
1212
fail-fast: true
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: [8.0, 8.1, 8.2, 8.3]
15+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
1616
laravel: ['9.*', '10.*', '11.*', '12.*']
1717
dependency-version: [prefer-lowest, prefer-stable]
1818
exclude:
1919
- laravel: 9.*
2020
php: 8.2
2121
- laravel: 9.*
2222
php: 8.3
23+
- laravel: 9.*
24+
php: 8.4
2325
- laravel: 10.*
2426
php: 8.0
2527
- laravel: 11.*

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to `cybercog/laravel-eloquent-flag` will be documented in th
44

55
## [Unreleased]
66

7+
## [6.2.0] - 2025-02-22
8+
9+
### Added
10+
11+
- ([#82]) Added Laravel 12 support
12+
- ([#83]) Added PHP 8.4 tests
13+
714
## [6.1.0] - 2024-03-09
815

916
### Added
@@ -325,7 +332,8 @@ All notable changes to `cybercog/laravel-eloquent-flag` will be documented in th
325332

326333
- `is_active` boolean flag added.
327334

328-
[Unreleased]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.1.0...master
335+
[Unreleased]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.2.0...master
336+
[6.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.1.0...6.2.0
329337
[6.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.0.0...6.1.0
330338
[6.0.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.4.0...6.0.0
331339
[5.4.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.3.0...5.4.0
@@ -358,6 +366,8 @@ All notable changes to `cybercog/laravel-eloquent-flag` will be documented in th
358366
[1.2.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.1.0...1.2.0
359367
[1.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.0.0...1.1.0
360368

369+
[#83]: https://github.com/cybercog/laravel-eloquent-flag/pull/83
370+
[#82]: https://github.com/cybercog/laravel-eloquent-flag/pull/82
361371
[#81]: https://github.com/cybercog/laravel-eloquent-flag/pull/81
362372
[#77]: https://github.com/cybercog/laravel-eloquent-flag/pull/77
363373
[#74]: https://github.com/cybercog/laravel-eloquent-flag/pull/71

docker-compose.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,14 @@ services:
3232
working_dir: /app
3333
volumes:
3434
- ./:/app
35+
36+
php84:
37+
container_name: laravel-eloquent-flag-lib-84
38+
image: laravel-eloquent-flag-lib-84
39+
build:
40+
context: ./
41+
dockerfile: ./.docker/php/php84/Dockerfile
42+
tty: true
43+
working_dir: /app
44+
volumes:
45+
- ./:/app

0 commit comments

Comments
 (0)