Browse Source

Use python 3.8 on the backend

pull/605/head
Guillaume Vincent 3 years ago
parent
commit
39a1cac561
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      .github/workflows/deploy-cli.yml
  2. +3
    -3
      .github/workflows/test.yml
  3. +1
    -1
      containers/backend/Dockerfile

+ 2
- 2
.github/workflows/deploy-cli.yml View File

@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with: with:
python-version: "3.6" python-version: "3.6"
- name: test cli - name: test cli
@@ -22,7 +22,7 @@ jobs:
needs: test-cli needs: test-cli
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with: with:
python-version: "3.6" python-version: "3.6"
- name: deploy cli - name: deploy cli


+ 3
- 3
.github/workflows/test.yml View File

@@ -84,7 +84,7 @@ jobs:
python-version: [3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: test cli - name: test cli
@@ -96,9 +96,9 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with: with:
python-version: "3.6"
python-version: "3.8"
- name: test backend - name: test backend
run: | run: |
cd containers/backend cd containers/backend


+ 1
- 1
containers/backend/Dockerfile View File

@@ -1,4 +1,4 @@
FROM python:3.6
FROM python:3.8
LABEL maintainer="LessPass <contact@lesspass.com>" LABEL maintainer="LessPass <contact@lesspass.com>"
LABEL name="LessPass Backend" LABEL name="LessPass Backend"
RUN mkdir /opt/backend RUN mkdir /opt/backend


Loading…
Cancel
Save