Skip to content

Commit

Permalink
Release v2.0.1 (#285)
Browse files Browse the repository at this point in the history
* Apply cs fix

* Upgrade actions/create-release:v4

* Upgrade components to 2.0.1

* Update composer.json

* Update actions

* Update swoole version

* Revert "Update swoole version"

This reverts commit b585d39.
  • Loading branch information
zds-s committed Jun 22, 2024
1 parent 7fdba34 commit f9dfe19
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
run: cp -rf .github/workflows/Dockerfile . && docker build -t hyperf .
run: docker build -t hyperf .
- name: docker-compose
run:
docker-compose up -d
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:

name: Release

permissions: write-all

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
swoole: [ 'swoole' ]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions app/System/Controller/DataCenter/DictTypeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ public function index(): ResponseInterface
}

/**
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
#[GetMapping("list")]
#[GetMapping('list')]
public function list(): ResponseInterface
{
return $this->success($this->service->getList($this->request->all()));
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"description": "Quickly build a background management system for web applications",
"license": "Apache-2.0",
"require": {
"mineadmin/app-store": "^2.0.x-dev",
"xmo/jwt-auth": "^2.0-stable",
"xmo/mine-core": "^2.0-stable",
"xmo/mine-generator": "^2.0-stable",
"xmo/mine-helpers": "^2.0-stable",
"xmo/mine-office": "^2.0-stable",
"xmo/mine-service": "^2.0-stable",
"xmo/mine-translatable": "^2.0-stable"
"mineadmin/app-store": "~2.0",
"xmo/jwt-auth": "~2.0",
"xmo/mine-core": "~2.0",
"xmo/mine-generator": "~2.0",
"xmo/mine-helpers": "~2.0",
"xmo/mine-office": "~2.0",
"xmo/mine-service": "~2.0",
"xmo/mine-translatable": "~2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand Down

0 comments on commit f9dfe19

Please sign in to comment.