mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
ci: fix workflows
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -8,8 +8,9 @@ jobs:
|
|||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- uses: abatilo/actions-poetry@v2
|
- name: Install and configure Poetry
|
||||||
- name: Config poetry
|
run: |
|
||||||
run: poetry config experimental.new-installer false
|
pip install -U pip poetry
|
||||||
|
poetry config virtualenvs.create false
|
||||||
- name: CI
|
- name: CI
|
||||||
run: make ci
|
run: make ci
|
||||||
|
|||||||
11
.github/workflows/pypi.yml
vendored
11
.github/workflows/pypi.yml
vendored
@@ -7,13 +7,14 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- uses: abatilo/actions-poetry@v2.1.3
|
- name: Install and configure Poetry
|
||||||
- name: Config poetry
|
run: |
|
||||||
run: poetry config experimental.new-installer false
|
pip install -U pip poetry
|
||||||
|
poetry config virtualenvs.create false
|
||||||
- name: Build dists
|
- name: Build dists
|
||||||
run: make build
|
run: make build
|
||||||
- name: Pypi Publish
|
- name: Pypi Publish
|
||||||
|
|||||||
Reference in New Issue
Block a user