Skip to content

Commit

Permalink
Bump poetry version in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpaulett committed Feb 16, 2024
1 parent 754bffb commit 3a2ad3f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
43 changes: 21 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,30 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1.3.1
with:
version: 1.1.14
# TODO Consider removing or caching
virtualenvs-create: true
- name: Install dependencies
run: |
make init
- name: Lint
run: |
make lint
- name: Test
run: |
make test
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/install-poetry@v1.3.4
with:
version: 1.7.1
# TODO Consider removing or caching
virtualenvs-create: true
- name: Install dependencies
run: |
make init
- name: Lint
run: |
make lint
- name: Test
run: |
make test
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mazel = 'mazel.main:cli'
yaml = ["ruamel.yaml"]

[build-system]
requires = ["poetry-core>=1.0.8"]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.isort]
Expand Down

0 comments on commit 3a2ad3f

Please sign in to comment.