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
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11.3'
|
||||
python-version: '3.11.5'
|
||||
#----------------------------------------------
|
||||
# ----- install & configure poetry -----
|
||||
#----------------------------------------------
|
||||
- name: Install poetry
|
||||
env: # Keep in sync with `POETRY_VERSION` in `Dockerfile`
|
||||
POETRY_VERSION: "1.4.2"
|
||||
POETRY_VERSION: "1.6.1"
|
||||
run: |
|
||||
curl -sSL "https://install.python-poetry.org" | python -
|
||||
# Adding `poetry` to `$PATH`:
|
||||
@ -67,5 +67,5 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Check docker-compose
|
||||
run: |
|
||||
docker-compose up --build
|
||||
docker compose up --build
|
||||
bash build-check.sh
|
@ -42,7 +42,7 @@ RUN groupadd ${USER} && useradd -g ${USER} ${USER}
|
||||
RUN mkdir /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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user