mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:44:02 +00:00
bump php version
This commit is contained in:
parent
855ba91508
commit
5777ff850f
4 changed files with 4 additions and 4 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -147,7 +147,7 @@ jobs:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.2'
|
php-version: '8.4'
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: composer install
|
run: composer install
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
ARG PHP_VERSION=8.3
|
ARG PHP_VERSION=8.4
|
||||||
|
|
||||||
FROM php:${PHP_VERSION}-cli-bookworm
|
FROM php:${PHP_VERSION}-cli-bookworm
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
1. Login in to Docker Hub: `docker login -u archtechx`
|
1. Login in to Docker Hub: `docker login -u archtechx`
|
||||||
1. Shut down containers: `composer docker-down`
|
1. Shut down containers: `composer docker-down`
|
||||||
1. Build the image: `DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose build --no-cache`
|
1. Build the image: `DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose build --no-cache`
|
||||||
1. Start containers again, using the amd64 image for the `test` service: `composer docker-up`
|
1. Start containers again, using the amd64 image for the `test` service: `composer docker-up`
|
||||||
1. Verify that tests pass on the new image: `composer test`
|
1. Verify that tests pass on the new image: `composer test`
|
||||||
1. Tag a new image: `docker tag tenancy-test archtechx/tenancy:latest`
|
1. Tag a new image: `docker tag tenancy-test archtechx/tenancy:latest`
|
||||||
|
|
|
||||||
|
|
@ -280,7 +280,7 @@ class TestJob implements ShouldQueue
|
||||||
/** @var User|null */
|
/** @var User|null */
|
||||||
protected $user;
|
protected $user;
|
||||||
|
|
||||||
public function __construct(Valuestore $valuestore, User $user = null)
|
public function __construct(Valuestore $valuestore, ?User $user = null)
|
||||||
{
|
{
|
||||||
$this->valuestore = $valuestore;
|
$this->valuestore = $valuestore;
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue