mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-29 17:27:41 +00:00
👷 update ci
This commit is contained in:
2
.github/workflows/build_docs.yml
vendored
2
.github/workflows/build_docs.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pypoetry/virtualenvs
|
path: ~/.cache/pypoetry/virtualenvs
|
||||||
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
|
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||||
|
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
|
6
.github/workflows/nonebot_plugin_docs.yml
vendored
6
.github/workflows/nonebot_plugin_docs.yml
vendored
@ -26,10 +26,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
- name: Install Poetry
|
|
||||||
run: |
|
- uses: Gr1N/setup-poetry@v4
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install poetry
|
|
||||||
|
|
||||||
- name: Publish Package
|
- name: Publish Package
|
||||||
run: |
|
run: |
|
||||||
|
@ -9,7 +9,7 @@ sidebar: auto
|
|||||||
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
|
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
|
||||||
- 移除插件加载的 `NameSpace` 模式
|
- 移除插件加载的 `NameSpace` 模式
|
||||||
- 修改 toml 加载插件时的键名为 `tool.nonebot` 以符合规范
|
- 修改 toml 加载插件时的键名为 `tool.nonebot` 以符合规范
|
||||||
- 新增 Handler 依赖注入支持
|
- 新增 Handler 依赖注入支持,同步/异步支持
|
||||||
- 统一 `Processor`, `Rule`, `Permission` 使用 `Handler`
|
- 统一 `Processor`, `Rule`, `Permission` 使用 `Handler`
|
||||||
|
|
||||||
## v2.0.0a16
|
## v2.0.0a16
|
||||||
|
Reference in New Issue
Block a user