fix GitHub actions

This commit is contained in:
Dmitry Afanasyev 2023-08-27 22:47:50 +03:00
parent 8f7c1f43b4
commit e9fea9bc58
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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