Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Sync common project files #163

Merged
merged 3 commits into from
Apr 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/install_python_and_poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
poetry-version:
description: "Poetry version to use"
required: false
default: "1.3.1"
default: "1.4.2"

outputs:
python-path:
Expand Down Expand Up @@ -49,7 +49,7 @@ runs:
run: "pipx install --python='${{ steps.python.outputs.python-path }}' poetry==${{ inputs.poetry-version }}"

- name: "Cache venv"
uses: "actions/cache@v3.2.6"
uses: "actions/cache@v3.3.1"
with:
path: "./.venv/"
key: "venv-${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}${{ inputs.cache-key-suffix }}"
2 changes: 1 addition & 1 deletion .github/actions/run_pre_commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
shell: "bash"

- name: "Cache mypy"
uses: "actions/cache@v3.2.6"
uses: "actions/cache@v3.3.1"
with:
path: "./.mypy_cache/"
key: "mypy-${{ runner.os }}-${{ inputs.python-version }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/run_tox/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ inputs:
tox-version:
description: "Tox version to use"
required: false
default: "4.4.6"
default: "4.4.8"

tox-gh-actions-version:
description: "Tox GitHub Actions plugin version to use"
required: false
default: "3.0.0"
default: "3.1.0"

use-coveralls:
description: "Send coverage to Coveralls"
Expand All @@ -41,7 +41,7 @@ runs:
shell: "bash"

- name: "Cache tox"
uses: "actions/cache@v3.2.6"
uses: "actions/cache@v3.3.1"
with:
path: ".tox/"
key: "tox-${{ inputs.python-version }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v3.3.0"
- uses: "actions/checkout@v3.5.0"

- id: "python_and_poetry"
uses: "./.github/actions/install_python_and_poetry"
Expand All @@ -43,7 +43,7 @@ jobs:

- name: "Publish package"
if: "${{ startsWith(github.ref, 'refs/tags/') }}"
uses: "pypa/gh-action-pypi-publish@v1.6.4"
uses: "pypa/gh-action-pypi-publish@v1.8.4"
with:
user: "${{ secrets.pypi-user }}"
password: "${{ secrets.pypi-password }}"
2 changes: 1 addition & 1 deletion .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v3.3.0"
- uses: "actions/checkout@v3.5.0"

- name: "Fetch git data"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_verify_docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v3.3.0"
- uses: "actions/checkout@v3.5.0"

- id: "python_and_poetry"
uses: "./.github/actions/install_python_and_poetry"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/checkout@v3.3.0"
- uses: "actions/checkout@v3.5.0"
with:
ref: "main"

Expand All @@ -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@v4.2.3"
uses: "peter-evans/create-pull-request@v4.2.4"
with:
token: "${{ steps.token.outputs.token }}"
commit-message: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
app_id: "${{ secrets.BADABUMP_APP_ID }}"
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}"

- uses: "actions/checkout@v3.3.0"
- uses: "actions/checkout@v3.5.0"
with:
ref: "main"
token: "${{ steps.token.outputs.token }}"
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exclude: ^(archive|assets|migrations)/.*|.*/(migrations|test-data|vendor)/.*|.*\
minimum_pre_commit_version: "1.17.0"
repos:
- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.42.0"
rev: "v2.42.1"
hooks:
- id: "commitizen"
# By default commitizen using `python3` language version, so
Expand All @@ -26,7 +26,7 @@ repos:
exclude: ^docs/.*$

- repo: "https://github.com/psf/black"
rev: "23.1.0"
rev: "23.3.0"
hooks:
- id: "black"
name: "Format code (black)"
Expand All @@ -39,7 +39,7 @@ repos:
name: "Format docs (blacken-docs)"
args: ["-l", "64"]
additional_dependencies:
- "black==23.1.0"
- "black==23.3.0"

- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.4.0"
Expand All @@ -65,9 +65,9 @@ repos:
- id: "flake8"
name: "Lint code (flake8)"
additional_dependencies: &flake8_additional_dependencies
- "flake8-bugbear==23.2.13"
- "flake8-bugbear==23.3.23"
- "flake8-builtins==2.1.0"
- "flake8-comprehensions==3.10.1"
- "flake8-comprehensions==3.11.1"
- "flake8-isort==6.0.0"
- "flake8-mutable==1.2.0"
- "flake8-pie==0.16.0"
Expand Down
Loading