Skip to content

Commit

Permalink
update github workflow to poetry 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Der-Henning committed Mar 2, 2025
1 parent c95840c commit b826c92
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-poetry-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
poetry-version:
required: false
type: string
default: latest
default: 2.1.1
python-version:
required: false
type: string
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
branches:
- dependabot/pip/**

env:
PYTHON_VERSION: '3.11'
POETRY_VERSION: 1.8.2

jobs:
run:
name: Update requirements.txt and lock file
Expand All @@ -26,8 +22,6 @@ jobs:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
- uses: ./.github/actions/setup-poetry-action
with:
poetry-version: ${{ env.POETRY_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
install-dependencies: false
- name: Update dependencies
run: |
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:

env:
PYTHON_VERSION: '3.11'
POETRY_VERSION: 1.8.2

jobs:
docker-images:
name: Build Docker Images
Expand Down Expand Up @@ -105,8 +101,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-poetry-action
with:
poetry-version: ${{ env.POETRY_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
without: test
- name: Run PyInstaller (linux/macos)
if: matrix.tag == 'linux' || matrix.tag == 'macos'
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Tests
on:
pull_request:

env:
POETRY_VERSION: 1.8.2

jobs:
tests:
name: Run Tests
Expand All @@ -19,7 +16,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-poetry-action
with:
poetry-version: ${{ env.POETRY_VERSION }}
python-version: ${{ matrix.python }}
without: build
- uses: actions/cache@v4
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/tgtg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
schedule:
- cron: 0 1 * * *

env:
PYTHON_VERSION: '3.11'
POETRY_VERSION: 1.8.2

jobs:
test:
name: Run Test
Expand All @@ -16,8 +12,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-poetry-action
with:
poetry-version: ${{ env.POETRY_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
without: build
- name: Run tests
uses: nick-fields/retry@v2
Expand Down

0 comments on commit b826c92

Please sign in to comment.