Skip to content

Commit

Permalink
chore: Sync common project files
Browse files Browse the repository at this point in the history
  • Loading branch information
badabump-release-bot[bot] committed Apr 2, 2023
1 parent 9958763 commit e580f97
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/actions/install_python_and_poetry/action.yml
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
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
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
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
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
4 changes: 2 additions & 2 deletions .github/workflows/release_pr.yml
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
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
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 Down Expand Up @@ -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

0 comments on commit e580f97

Please sign in to comment.