-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Monthly maintenance (Aug 2024) (#230)
Use Python 3.12.5 as dev version, as well as update dependabot config to group dev & CI dependencies. As well as integrate new `flake8-logging` plugin, but at same time hide false-positive error about using exc_info outside of except block, as default handler will be called right in `except` block within `error_middleware`.
- Loading branch information
1 parent
a28829e
commit 8f51be7
Showing
15 changed files
with
44 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ inputs: | |
poetry-version: | ||
description: "Poetry version to use" | ||
required: false | ||
default: "1.7.1" | ||
default: "1.8.3" | ||
|
||
outputs: | ||
python-path: | ||
|
@@ -39,7 +39,7 @@ runs: | |
steps: | ||
- id: "python" | ||
name: "Install Python" | ||
uses: "actions/setup-python@v5.0.0" | ||
uses: "actions/setup-python@v5.1.1" | ||
with: | ||
python-version: "${{ inputs.python-version }}" | ||
python-version-file: "${{ inputs.python-version-file }}" | ||
|
@@ -49,7 +49,7 @@ runs: | |
run: "pipx install --python='${{ steps.python.outputs.python-path }}' poetry==${{ inputs.poetry-version }}" | ||
|
||
- name: "Cache venv" | ||
uses: "actions/[email protected].0" | ||
uses: "actions/[email protected].2" | ||
with: | ||
path: "./.venv/" | ||
key: "venv-${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}${{ inputs.cache-key-suffix }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ runs: | |
shell: "bash" | ||
|
||
- name: "Cache mypy" | ||
uses: "actions/[email protected].0" | ||
uses: "actions/[email protected].2" | ||
with: | ||
path: "./.mypy_cache/" | ||
key: "mypy-${{ runner.os }}-${{ inputs.python-version }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ inputs: | |
tox-version: | ||
description: "Tox version to use" | ||
required: false | ||
default: "4.12.1" | ||
default: "4.18.0" | ||
|
||
tox-gh-actions-version: | ||
description: "Tox GitHub Actions plugin version to use" | ||
|
@@ -41,7 +41,7 @@ runs: | |
shell: "bash" | ||
|
||
- name: "Cache tox" | ||
uses: "actions/[email protected].0" | ||
uses: "actions/[email protected].2" | ||
with: | ||
path: ".tox/" | ||
key: "tox-${{ inputs.python-version }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
description: "Twine version to use." | ||
type: "string" | ||
required: false | ||
default: "4.0.2" | ||
default: "5.1.1" | ||
|
||
jobs: | ||
package: | ||
|
@@ -16,7 +16,7 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
|
||
- id: "python_and_poetry" | ||
uses: "./.github/actions/install_python_and_poetry" | ||
|
@@ -34,4 +34,4 @@ jobs: | |
|
||
- name: "Publish package" | ||
if: "${{ startsWith(github.ref, 'refs/tags/') }}" | ||
uses: "pypa/gh-action-pypi-publish@v1.8.11" | ||
uses: "pypa/gh-action-pypi-publish@v1.9.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
|
||
- name: "Fetch git data" | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
|
||
- id: "python_and_poetry" | ||
uses: "./.github/actions/install_python_and_poetry" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
with: | ||
ref: "main" | ||
|
||
|
@@ -47,7 +47,7 @@ jobs: | |
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}" | ||
|
||
- name: "Create pull request with changed files" | ||
uses: "peter-evans/create-pull-request@v6.0.0" | ||
uses: "peter-evans/create-pull-request@v6.1.0" | ||
with: | ||
token: "${{ steps.token.outputs.token }}" | ||
commit-message: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
app_id: "${{ secrets.BADABUMP_APP_ID }}" | ||
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}" | ||
|
||
- uses: "actions/[email protected].1" | ||
- uses: "actions/[email protected].7" | ||
with: | ||
ref: "main" | ||
token: "${{ steps.token.outputs.token }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.12.2 | ||
3.12.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters