Skip to content

Commit

Permalink
ci: upgrade poetry and remove python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
btorresgil authored Jan 18, 2024
1 parent fd87fe7 commit b13bd02
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9, 3.10]
steps:
- uses: actions/checkout@v2

Expand All @@ -30,7 +30,7 @@ jobs:
- name: Install Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.3.2
poetry-version: 1.11.0

- name: Get poetry cache directory
id: poetry-cache
Expand Down Expand Up @@ -58,15 +58,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8

- name: Install Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.3.2
poetry-version: 1.11.0

- name: Get poetry cache directory
id: poetry-cache
Expand All @@ -76,9 +76,9 @@ jobs:
uses: actions/cache@v1
with:
path: ${{ steps.poetry-cache.outputs.dir }}
key: ${{ runner.os }}-poetry-3.7-${{ hashFiles('**/poetry.lock') }}
key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-3.7-
${{ runner.os }}-poetry-3.8-
- name: Install dependencies
run: poetry install
Expand All @@ -95,15 +95,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8

- name: Install Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: 1.3.2
poetry-version: 1.11.0

- name: Get poetry cache directory
id: poetry-cache
Expand All @@ -113,9 +113,9 @@ jobs:
uses: actions/cache@v1
with:
path: ${{ steps.poetry-cache.outputs.dir }}
key: ${{ runner.os }}-poetry-3.7-${{ hashFiles('**/poetry.lock') }}
key: ${{ runner.os }}-poetry-3.8-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-3.7-
${{ runner.os }}-poetry-3.8-
- name: Install dependencies
run: poetry install
Expand Down

0 comments on commit b13bd02

Please sign in to comment.