Skip to content

Commit

Permalink
Removed Poetry pinning from Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed Aug 30, 2023
1 parent 5bca5b1 commit 56a1b82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .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.10'
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: '1.3'
python-version: '3.11'
- name: Verify versioning
run: |
[ "$(poetry version -s)" == "${GITHUB_REF#refs/tags/v}" ]
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ jobs:
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: '1.3'
- name: Install dependencies
run: poetry install
- name: Run tests
Expand Down

0 comments on commit 56a1b82

Please sign in to comment.