fix(config): Fix php version to > 8.1

This commit is contained in:
michaelachrisco 2023-10-27 13:04:40 -07:00 committed by GitHub
parent c4577288b7
commit 5a8caaca54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,6 @@
version: 2.1 version: 2.1
jobs: jobs:
build_php_version_80:
docker:
- image: cimg/php:8.0.20
working_directory: ~/ReadOnlyTraitLaravel
steps: # a set of executable commands
- checkout
- run: sudo composer self-update
- run: composer install -n --prefer-dist --no-plugins
- run: ./vendor/bin/kahlan -reporter=verbose
build_php_version_81: build_php_version_81:
docker: docker:
- image: cimg/php:8.1.14 - image: cimg/php:8.1.14
@ -19,9 +10,9 @@ jobs:
- run: sudo composer self-update - run: sudo composer self-update
- run: composer install -n --prefer-dist --no-plugins - run: composer install -n --prefer-dist --no-plugins
- run: ./vendor/bin/kahlan -reporter=verbose - run: ./vendor/bin/kahlan -reporter=verbose
build_latest: build_php_version_82:
docker: docker:
- image: cimg/php:latest - image: cimg/php:8.2.12
working_directory: ~/ReadOnlyTraitLaravel working_directory: ~/ReadOnlyTraitLaravel
steps: # a set of executable commands steps: # a set of executable commands
- checkout - checkout
@ -32,6 +23,5 @@ workflows:
version: 2 version: 2
build: build:
jobs: jobs:
- build_php_version_80
- build_php_version_81 - build_php_version_81
- build_latest - build_php_version_82