mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +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"
|
||||
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
|
||||
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:
|
||||
- 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
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
|
||||
@ -26,14 +39,6 @@ jobs:
|
||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
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
|
||||
run: |
|
||||
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
|
||||
architecture: "x64"
|
||||
|
||||
- uses: Gr1N/setup-poetry@v4
|
||||
- uses: Gr1N/setup-poetry@v7
|
||||
|
||||
- uses: actions/cache@v1
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pypoetry/virtualenvs
|
||||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
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
|
||||
architecture: "x64"
|
||||
|
||||
- uses: Gr1N/setup-poetry@v4
|
||||
- uses: Gr1N/setup-poetry@v7
|
||||
|
||||
- uses: actions/cache@v1
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pypoetry/virtualenvs
|
||||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user