👷 update ci

This commit is contained in:
yanyongyu 2021-11-22 23:31:03 +08:00
parent a98d98cd12
commit db5d4d7acf
3 changed files with 4 additions and 6 deletions

View File

@ -24,7 +24,7 @@ jobs:
- uses: actions/cache@v1
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Set up dependencies
run: |

View File

@ -26,10 +26,8 @@ jobs:
with:
python-version: 3.8
architecture: "x64"
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- uses: Gr1N/setup-poetry@v4
- name: Publish Package
run: |

View File

@ -9,7 +9,7 @@ sidebar: auto
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
- 移除插件加载的 `NameSpace` 模式
- 修改 toml 加载插件时的键名为 `tool.nonebot` 以符合规范
- 新增 Handler 依赖注入支持
- 新增 Handler 依赖注入支持,同步/异步支持
- 统一 `Processor`, `Rule`, `Permission` 使用 `Handler`
## v2.0.0a16