mirror of
https://github.com/Balshgit/python-poetry.git
synced 2025-09-10 16:30:41 +03:00
fix GitHub actions
This commit is contained in:
parent
8f7c1f43b4
commit
e9fea9bc58
6
.github/workflows/poetry-test.yml
vendored
6
.github/workflows/poetry-test.yml
vendored
@ -24,13 +24,13 @@ jobs:
|
|||||||
id: setup-python
|
id: setup-python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.11.3'
|
python-version: '3.11.5'
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# ----- install & configure poetry -----
|
# ----- install & configure poetry -----
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
env: # Keep in sync with `POETRY_VERSION` in `Dockerfile`
|
env: # Keep in sync with `POETRY_VERSION` in `Dockerfile`
|
||||||
POETRY_VERSION: "1.4.2"
|
POETRY_VERSION: "1.6.1"
|
||||||
run: |
|
run: |
|
||||||
curl -sSL "https://install.python-poetry.org" | python -
|
curl -sSL "https://install.python-poetry.org" | python -
|
||||||
# Adding `poetry` to `$PATH`:
|
# Adding `poetry` to `$PATH`:
|
||||||
@ -67,5 +67,5 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Check docker-compose
|
- name: Check docker-compose
|
||||||
run: |
|
run: |
|
||||||
docker-compose up --build
|
docker compose up --build
|
||||||
bash build-check.sh
|
bash build-check.sh
|
@ -42,7 +42,7 @@ RUN groupadd ${USER} && useradd -g ${USER} ${USER}
|
|||||||
RUN mkdir /code /poetry
|
RUN mkdir /code /poetry
|
||||||
RUN chown -R ${USER}:${USER} /code /poetry
|
RUN chown -R ${USER}:${USER} /code /poetry
|
||||||
|
|
||||||
COPY --chown=${USER}:${USER} ./poetry/pyproject.toml /code/
|
COPY --chown=${USER}:${USER} ./pyproject.toml /code/
|
||||||
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user