Skip to content

Commit

Permalink
Merge pull request #2219 from sspanel-uim/dev
Browse files Browse the repository at this point in the history
Dev 20231028
  • Loading branch information
M1Screw authored Oct 27, 2023
2 parents 1b2c591 + 87e6ee4 commit ab10743
Show file tree
Hide file tree
Showing 34 changed files with 666 additions and 772 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ on:
workflow_dispatch:

jobs:
unit-test-php81:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- run: |
composer install --no-interaction --no-progress --no-suggest
php vendor/bin/phpunit
unit-test-php82:
runs-on: ubuntu-latest
steps:
Expand All @@ -18,3 +29,15 @@ jobs:
- run: |
composer install --no-interaction --no-progress --no-suggest
php vendor/bin/phpunit
unit-test-php83:
if: ${{ false }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- run: |
composer install --no-interaction --no-progress --no-suggest
php vendor/bin/phpunit
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ SSPanel UIM 欢迎各种贡献,包括但不限于改进,新功能,文档

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/O5O850UEH)

<a href="https://www.vultr.com/?ref=8941355-8H">
<img src="https://www.vultr.com/media/logo_onwhite.png" alt="Vultr" width="200" align="left" />
</a>

<br/>
<br/>

## Sponsor / 赞助商

[![](.github/jetbrains.png)](https://www.jetbrains.com/?from=SSPanel-UIM)
Expand Down
2 changes: 1 addition & 1 deletion app/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$group->get('', App\Controllers\UserController::class . ':index');
$group->get('/', App\Controllers\UserController::class . ':index');
// 签到
$group->post('/checkin', App\Controllers\UserController::class . ':doCheckin');
$group->post('/checkin', App\Controllers\UserController::class . ':checkin');
// 公告
$group->get('/announcement', App\Controllers\UserController::class . ':announcement');
// 文档
Expand Down
Loading

0 comments on commit ab10743

Please sign in to comment.