Skip to content

Commit

Permalink
Add PHP 8.4 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev committed Feb 22, 2025
1 parent 3f0631a commit d636a81
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .docker/php/php84/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ----------------------
# The FPM base container
# ----------------------
FROM php:8.4-cli-alpine AS dev

RUN apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS

# Cleanup apk cache and temp files
RUN rm -rf /var/cache/apk/* /tmp/*

# ----------------------
# Composer install step
# ----------------------

# Get latest Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

# ----------------------
# The FPM production container
# ----------------------
FROM dev
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to `cybercog/laravel-ban` will be documented in this file.

## [Unreleased]

## [4.10.0] - 2025-02-22

### Added

- ([#96]) Added Laravel 12 support
- ([#97]) Added PHP 8.4 tests

## [4.9.0] - 2024-03-05

### Added
Expand Down Expand Up @@ -190,7 +197,8 @@ All notable changes to `cybercog/laravel-ban` will be documented in this file.

- Initial release

[Unreleased]: https://github.com/cybercog/laravel-ban/compare/4.9.0...master
[Unreleased]: https://github.com/cybercog/laravel-ban/compare/4.10.0...master
[4.10.0]: https://github.com/cybercog/laravel-ban/compare/4.9.0...4.10.0
[4.9.0]: https://github.com/cybercog/laravel-ban/compare/4.8.0...4.9.0
[4.8.0]: https://github.com/cybercog/laravel-ban/compare/4.7.0...4.8.0
[4.7.0]: https://github.com/cybercog/laravel-ban/compare/4.6.1...4.7.0
Expand All @@ -213,6 +221,8 @@ All notable changes to `cybercog/laravel-ban` will be documented in this file.
[2.0.1]: https://github.com/cybercog/laravel-ban/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/cybercog/laravel-ban/compare/1.0.0...2.0.0

[#97]: https://github.com/cybercog/laravel-ban/pull/97
[#96]: https://github.com/cybercog/laravel-ban/pull/96
[#95]: https://github.com/cybercog/laravel-ban/pull/95
[#89]: https://github.com/cybercog/laravel-ban/pull/89
[#81]: https://github.com/cybercog/laravel-ban/pull/81
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,14 @@ services:
working_dir: /app
volumes:
- ./:/app

php84:
container_name: laravel-ban-lib-84
image: laravel-ban-lib-84
build:
context: ./
dockerfile: ./.docker/php/php84/Dockerfile
tty: true
working_dir: /app
volumes:
- ./:/app

0 comments on commit d636a81

Please sign in to comment.