Skip to content

Commit d2f93aa

Browse files
authored
Merge branch 'main' into main
2 parents bb111c3 + f2616e6 commit d2f93aa

File tree

18 files changed

+261
-903
lines changed

18 files changed

+261
-903
lines changed

.github/workflows/python.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,30 @@ env:
2626
TESTS_REPORTS_ARTIFACT: tests-reports
2727

2828
jobs:
29+
pyupgrade:
30+
name: Find Upgradable CodingStandards
31+
runs-on: ubuntu-latest
32+
timeout-minutes: 10
33+
steps:
34+
- name: Checkout
35+
# see https://github.com/actions/checkout
36+
uses: actions/checkout@v4
37+
- name: Setup Python Environment
38+
# see https://github.com/actions/setup-python
39+
uses: actions/setup-python@v5
40+
with:
41+
python-version: ${{ env.PYTHON_VERSION_DEFAULT }}
42+
architecture: 'x64'
43+
- name: Install poetry
44+
# see https://github.com/marketplace/actions/setup-poetry
45+
uses: Gr1N/setup-poetry@v9
46+
with:
47+
poetry-version: ${{ env.POETRY_VERSION }}
48+
- name: Install dependencies
49+
run: poetry install --no-root
50+
- name: Run tox
51+
run: poetry run tox run -e pyupgrade -s false
52+
2953
coding-standards:
3054
name: Linting & CodingStandards
3155
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
id: release
109109
# see https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html
110110
# see https://github.com/python-semantic-release/python-semantic-release
111-
uses: python-semantic-release/python-semantic-release@v9.21.1
111+
uses: python-semantic-release/python-semantic-release@v10.0.2
112112
with:
113113
github_token: ${{ secrets.GITHUB_TOKEN }}
114114
force: ${{ github.event.inputs.release_force }}
@@ -125,7 +125,7 @@ jobs:
125125
- name: Publish package distributions to GitHub Releases
126126
if: steps.release.outputs.released == 'true'
127127
# see https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html#python-semantic-release-publish-action
128-
uses: python-semantic-release/publish-action@v9
128+
uses: python-semantic-release/publish-action@v10
129129
with:
130130
github_token: ${{ secrets.GITHUB_TOKEN }}
131131
tag: ${{ steps.release.outputs.tag }}

0 commit comments

Comments
 (0)