From 7df87b9eef43d40eba5a2219e9a4068d06279f62 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Thu, 22 Jan 2026 22:34:57 -0800 Subject: [PATCH 1/3] remove php stan-setup setp --- .gitea/workflows/ci.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 427bbde..2106bd8 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -133,11 +133,8 @@ jobs: composer install --no-progress --prefer-dist --optimize-autoloader fi - - name: Composer phpstan setup - run: composer stan-setup - - name: Run phpstan run: vendor/bin/phpstan analyse --error-format=github - name: Run phpcs - run: composer cs-check \ No newline at end of file + run: composer cs-check -- 2.49.1 From 360a9b0d63c0f7dfa9032841e2c1c717ac2f6ff6 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Thu, 22 Jan 2026 23:17:24 -0800 Subject: [PATCH 2/3] require dev phpstan --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index effff34..f03a0aa 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,8 @@ "require-dev": { "phpunit/phpunit": "^10.1", "php-collective/decimal-object": "^1.3", - "cakephp/migrations": "^4.0.0" + "cakephp/migrations": "^4.0.0", + "phpstan/phpstan": "^2.1" }, "suggest": { "dereuromark/cakephp-geo": "^3.2" -- 2.49.1 From 79fc18290908fb4ef4b356cf8c343c2372f6c960 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Thu, 22 Jan 2026 23:28:32 -0800 Subject: [PATCH 3/3] testing release workflow --- .gitea/workflows/ci.yaml | 15 +++++---------- .gitea/workflows/release.yaml | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 10 deletions(-) create mode 100644 .gitea/workflows/release.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 2106bd8..91809c3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,11 +9,11 @@ jobs: testsuite: runs-on: ubuntu-latest strategy: - fail-fast: false + fail-fast: true matrix: php-version: ['8.2', '8.4'] - db-type: ['mysql'] - # db-type: ['sqlite', 'mysql', 'pgsql'] +# db-type: ['mysql'] + db-type: ['sqlite', 'mysql', 'pgsql'] prefer-lowest: [''] include: - php-version: '8.2' @@ -33,13 +33,6 @@ jobs: # - 5432:5432 # env: # POSTGRES_PASSWORD: postgres -# mysql8: -# image: mysql:8.0 -# env: -# MYSQL_ALLOW_EMPTY_PASSWORD: yes -# MYSQL_DATABASE: test_db -# ports: -# - 3306:3306 steps: - uses: actions/checkout@v4 @@ -138,3 +131,5 @@ jobs: - name: Run phpcs run: composer cs-check + + diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml new file mode 100644 index 0000000..993a4c8 --- /dev/null +++ b/.gitea/workflows/release.yaml @@ -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 + + -- 2.49.1