From 93bc5d313f43240de94b202815918c02ca805308 Mon Sep 17 00:00:00 2001 From: Dario Garcia Date: Sun, 15 Nov 2026 14:24:16 -0300 Subject: [PATCH] build: remove Gitea Actions workflows --- .gitattributes | 5 ++++- .gitea/workflows/tests.yml | 37 ------------------------------------- README.md | 1 - 3 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 .gitea/workflows/tests.yml diff --git a/.gitattributes b/.gitattributes index ce097dc..1e352fa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,9 +5,12 @@ /tests/** export-ignore /.gitattributes export-ignore /.gitignore export-ignore -/.gitea/** export-ignore /AGENTS.md export-ignore /mago.toml export-ignore /phpstan.neon export-ignore /phpunit.xml.dist export-ignore /phpunit.coverage.xml.dist export-ignore +/node_modules/ export-ignore +/package.json export-ignore +/package-lock.json export-ignore +/.husky/** export-ignore diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml deleted file mode 100644 index bf0be6a..0000000 --- a/.gitea/workflows/tests.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Tests - -on: - push: - branches: [main] - pull_request: - branches: [main] - -# The PHP version comes from the job container image instead of shivammathur/setup-php: -# the runner in this Gitea instance reaches github.com intermittently and setup-php -# failed with "TLS handshake timeout". -# -# Node.js is installed explicitly: actions/checkout is a JavaScript action, and the -# php:*-cli images ship no node, so checkout failed with -# `exec: "node": executable file not found in $PATH` (exit 127). -jobs: - check: - runs-on: ubuntu-latest - name: PHP 8.4 - container: php:8.4-cli - steps: - - name: Install system packages - run: | - apt-get update -qq - apt-get install -y -qq --no-install-recommends git unzip curl ca-certificates nodejs libxml2-dev > /dev/null - node --version - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Install Composer - run: | - curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php - php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer --quiet - - name: Install dependencies - run: composer update --prefer-dist --no-interaction --no-progress - - name: Run gate - run: composer check diff --git a/README.md b/README.md index cb05c4b..710e496 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![Latest Stable Version](https://img.shields.io/packagist/v/camelia/controllers.svg)](https://packagist.org/packages/camelia/controllers) [![Total Downloads](https://img.shields.io/packagist/dt/camelia/controllers.svg)](https://packagist.org/packages/camelia/controllers) [![License](https://img.shields.io/packagist/l/camelia/controllers.svg)](https://packagist.org/packages/camelia/controllers) -[![Tests](https://git.dr2gsistemas.duckdns.org/dr2gsistemas/camelia-controller/actions/workflows/tests.yml/badge.svg)](https://git.dr2gsistemas.duckdns.org/dr2gsistemas/camelia-controller/actions) Framework-agnostic REST controller toolkit: routing, request parsing, validation and JSON responses over any data source. Vanilla PHP, no framework.