0.x #1
@@ -9,11 +9,11 @@ jobs:
|
|||||||
testsuite:
|
testsuite:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
php-version: ['8.2', '8.4']
|
php-version: ['8.2', '8.4']
|
||||||
db-type: ['mysql']
|
# db-type: ['mysql']
|
||||||
# db-type: ['sqlite', 'mysql', 'pgsql']
|
db-type: ['sqlite', 'mysql', 'pgsql']
|
||||||
prefer-lowest: ['']
|
prefer-lowest: ['']
|
||||||
include:
|
include:
|
||||||
- php-version: '8.2'
|
- php-version: '8.2'
|
||||||
@@ -33,13 +33,6 @@ jobs:
|
|||||||
# - 5432:5432
|
# - 5432:5432
|
||||||
# env:
|
# env:
|
||||||
# POSTGRES_PASSWORD: postgres
|
# POSTGRES_PASSWORD: postgres
|
||||||
# mysql8:
|
|
||||||
# image: mysql:8.0
|
|
||||||
# env:
|
|
||||||
# MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
|
||||||
# MYSQL_DATABASE: test_db
|
|
||||||
# ports:
|
|
||||||
# - 3306:3306
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -133,11 +126,10 @@ jobs:
|
|||||||
composer install --no-progress --prefer-dist --optimize-autoloader
|
composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Composer phpstan setup
|
|
||||||
run: composer stan-setup
|
|
||||||
|
|
||||||
- name: Run phpstan
|
- name: Run phpstan
|
||||||
run: vendor/bin/phpstan analyse --error-format=github
|
run: vendor/bin/phpstan analyse --error-format=github
|
||||||
|
|
||||||
- name: Run phpcs
|
- name: Run phpcs
|
||||||
run: composer cs-check
|
run: composer cs-check
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
17
.gitea/workflows/release.yaml
Normal file
17
.gitea/workflows/release.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
|
||||||
|
|
||||||
@@ -11,7 +11,8 @@
|
|||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^10.1",
|
"phpunit/phpunit": "^10.1",
|
||||||
"php-collective/decimal-object": "^1.3",
|
"php-collective/decimal-object": "^1.3",
|
||||||
"cakephp/migrations": "^4.0.0"
|
"cakephp/migrations": "^4.0.0",
|
||||||
|
"phpstan/phpstan": "^2.1"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"dereuromark/cakephp-geo": "^3.2"
|
"dereuromark/cakephp-geo": "^3.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user