mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-17 16:20:05 +08:00
👷 update ci
This commit is contained in:
parent
a98d98cd12
commit
db5d4d7acf
2
.github/workflows/build_docs.yml
vendored
2
.github/workflows/build_docs.yml
vendored
@ -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: |
|
||||
|
6
.github/workflows/nonebot_plugin_docs.yml
vendored
6
.github/workflows/nonebot_plugin_docs.yml
vendored
@ -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: |
|
||||
|
@ -9,7 +9,7 @@ sidebar: auto
|
||||
- 新增 `MessageTemplate` 对于 `str` 普通模板的支持
|
||||
- 移除插件加载的 `NameSpace` 模式
|
||||
- 修改 toml 加载插件时的键名为 `tool.nonebot` 以符合规范
|
||||
- 新增 Handler 依赖注入支持
|
||||
- 新增 Handler 依赖注入支持,同步/异步支持
|
||||
- 统一 `Processor`, `Rule`, `Permission` 使用 `Handler`
|
||||
|
||||
## v2.0.0a16
|
||||
|
Loading…
x
Reference in New Issue
Block a user