mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 09:05:04 +08:00
👷 update ci version
This commit is contained in:
parent
e4691f0525
commit
21a958ffd9
7
.github/workflows/codecov.yml
vendored
7
.github/workflows/codecov.yml
vendored
@ -17,7 +17,12 @@ jobs:
|
|||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
||||||
- uses: Gr1N/setup-poetry@v4
|
- uses: Gr1N/setup-poetry@v7
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.cache/pypoetry/virtualenvs
|
||||||
|
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install -E all
|
run: poetry install -E all
|
||||||
|
23
.github/workflows/release-plugin-docs.yml
vendored
23
.github/workflows/release-plugin-docs.yml
vendored
@ -11,8 +11,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.8
|
||||||
|
architecture: "x64"
|
||||||
|
|
||||||
|
- uses: Gr1N/setup-poetry@v7
|
||||||
|
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.cache/pypoetry/virtualenvs
|
||||||
|
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
|
|
||||||
@ -26,14 +39,6 @@ jobs:
|
|||||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
architecture: "x64"
|
|
||||||
|
|
||||||
- uses: Gr1N/setup-poetry@v4
|
|
||||||
|
|
||||||
- name: Install and build
|
- name: Install and build
|
||||||
run: |
|
run: |
|
||||||
poetry install -E all
|
poetry install -E all
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -18,15 +18,15 @@ jobs:
|
|||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
||||||
- uses: Gr1N/setup-poetry@v4
|
- uses: Gr1N/setup-poetry@v7
|
||||||
|
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v2
|
||||||
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: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
|
|
||||||
|
6
.github/workflows/website-deploy.yml
vendored
6
.github/workflows/website-deploy.yml
vendored
@ -23,15 +23,15 @@ jobs:
|
|||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
|
|
||||||
- uses: Gr1N/setup-poetry@v4
|
- uses: Gr1N/setup-poetry@v7
|
||||||
|
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v2
|
||||||
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: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user