Skip to content

Commit

Permalink
Removed Poetry pinning from template Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Aug 30, 2023
1 parent 701926e commit 44f170e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
6 changes: 2 additions & 4 deletions {{ cookiecutter.package_name }}/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 1.2
- name: Verify versioning
run: |
[ "$(poetry version -s)" == "${GITHUB_REF#refs/tags/v}" ]
Expand Down
9 changes: 3 additions & 6 deletions {{ cookiecutter.package_name }}/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ jobs:
strategy:
matrix:
os: [ 'ubuntu-20.04' ]
python-version: [ '3.8', '3.9', '3.10' ]
poetry-version: [ '1.2' ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
runs-on: {{ '${{ matrix.os }}' }}
steps:
- uses: actions/checkout@v2
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: {{ '${{ matrix.python-version }}' }}
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: {{ '${{ matrix.poetry-version }}' }}
- name: Install dependencies
run: poetry install
- name: Run tests
Expand Down

0 comments on commit 44f170e

Please sign in to comment.