Skip to content

Commit

Permalink
bump repo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tcassou committed Aug 19, 2024
1 parent 2a1818b commit a405a2f
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 144 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lint_test_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Environment
id: setup
Expand All @@ -15,7 +15,7 @@ jobs:
if [ $GITHUB_REF == 'refs/heads/master' ]; then echo "ENV=prod"; else echo "ENV=staging"; fi >> $GITHUB_ENV
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ steps.setup.outputs.python-version }}

Expand All @@ -28,7 +28,7 @@ jobs:

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
Expand All @@ -43,7 +43,7 @@ jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Environment
id: setup
Expand All @@ -53,7 +53,7 @@ jobs:
if [ $GITHUB_REF == 'refs/heads/master' ]; then echo "ENV=prod"; else echo "ENV=staging"; fi >> $GITHUB_ENV
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ steps.setup.outputs.python-version }}

Expand All @@ -66,7 +66,7 @@ jobs:

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
Expand All @@ -85,7 +85,7 @@ jobs:
needs: [lint, test]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Bump version and push tag
uses: alexeyatbluescape/github-tag-action@bugfix/semver-empty-results
Expand All @@ -102,7 +102,7 @@ jobs:
if [ $GITHUB_REF == 'refs/heads/master' ]; then echo "ENV=prod"; else echo "ENV=staging"; fi >> $GITHUB_ENV
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ steps.setup.outputs.python-version }}

Expand All @@ -115,7 +115,7 @@ jobs:

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('**/.pre-commit-config.yaml') }}
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_language_version:
python: python3.9
repos:
- repo: https://github.com/myint/autoflake
rev: v2.2.0
rev: v2.3.1
hooks:
- id: autoflake
name: Autoflake removes unused imports
Expand All @@ -13,7 +13,7 @@ repos:
'--ignore-init-module-imports',
]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -27,21 +27,21 @@ repos:
- --no-ensure-ascii
- --no-sort-keys
- repo: https://github.com/asottile/reorder_python_imports.git
rev: v3.10.0
rev: v3.13.0
hooks:
- id: reorder-python-imports
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 24.8.0
hooks:
- id: black
name: Black
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.1
hooks:
- id: flake8
name: Flake8
- repo: https://github.com/ubersan/pylic
rev: v3.5.0
rev: v3.6.1
hooks:
- id: pylic
args: [--allow-extra-safe-licenses]
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
python 3.9.10
poetry 1.3.2
poetry 1.8.2
Loading

0 comments on commit a405a2f

Please sign in to comment.