ci: 引入 Gitea Actions

This commit is contained in:
李东云
2023-10-23 20:19:03 +08:00
parent 0f70f68020
commit e32dd363d6
4 changed files with 269 additions and 200 deletions

View File

View File

@@ -36,7 +36,7 @@
} }
}, },
"require": { "require": {
"php": "^8.0", "php": "^8.1",
"composer/composer": ">=2.0", "composer/composer": ">=2.0",
"singularity/hdk-core": "^1.0.0", "singularity/hdk-core": "^1.0.0",
"symfony/polyfill-php81": "^1.27", "symfony/polyfill-php81": "^1.27",
@@ -57,11 +57,10 @@
"singularity/hdk-pay": "接入支付平台必需" "singularity/hdk-pay": "接入支付平台必需"
}, },
"prefer-stable": true, "prefer-stable": true,
"minimum-stability": "dev", "minimum-stability": "alpha",
"config": { "config": {
"optimize-autoloader": true, "optimize-autoloader": true,
"sort-packages": true, "sort-packages": true,
"secure-http": false,
"allow-plugins": { "allow-plugins": {
"pestphp/pest-plugin": true "pestphp/pest-plugin": true
} }
@@ -85,9 +84,9 @@
] ]
}, },
"repositories": { "repositories": {
"lux-map": { "nest": {
"type": "composer", "type": "composer",
"url": "https://satis.luxcreo.cn/" "url": "https://nest.doylee.cn/api/packages/HDK/composer"
}, },
"packagist": { "packagist": {
"type": "composer", "type": "composer",

458
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -6,4 +6,4 @@ docker run \
-w "/srv/www" \ -w "/srv/www" \
-v "$(pwd)":/srv/www \ -v "$(pwd)":/srv/www \
-v ~/.ssh:/root/.ssh \ -v ~/.ssh:/root/.ssh \
harbor.luxcreo.cn/library/hyperf:8.0-swoole /bin/ash harbor.luxcreo.cn/library/hyperf:8.1-swoole /bin/ash