Skip to content

Commit 420f57f

Browse files
[UPD] Update workflows
1 parent 79e9e1f commit 420f57f

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.27
2+
_commit: v1.33
33
_src_path: https://github.com/OCA/oca-addons-repo-template.git
44
ci: GitHub
55
convert_readme_fragments_to_markdown: false

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
pre-commit:
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/setup-python@v2
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"
2020
- name: Get python version
2121
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
22-
- uses: actions/cache@v1
22+
- uses: actions/cache@v4
2323
with:
2424
path: ~/.cache/pre-commit
2525
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
name: Detect unreleased dependencies
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- run: |
1919
for reqfile in requirements.txt test-requirements.txt ; do
2020
if [ -f ${reqfile} ] ; then
@@ -52,7 +52,7 @@ jobs:
5252
env:
5353
PIP_INDEX_URL: "https://pypi.org/simple/"
5454
steps:
55-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5656
with:
5757
persist-credentials: false
5858
- name: Install addons and dependencies

.pre-commit-config.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
language: fail
4040
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
4141
- repo: https://github.com/oca/maintainer-tools
42-
rev: d5fab7ee87fceee858a3d01048c78a548974d935
42+
rev: f9b919b9868143135a9c9cb03021089cabba8223
4343
hooks:
4444
# update the NOT INSTALLABLE ADDONS section above
4545
- id: oca-update-pre-commit-excluded-addons
@@ -61,7 +61,7 @@ repos:
6161
args:
6262
- --disable=po-pretty-format
6363
- repo: https://github.com/myint/autoflake
64-
rev: v1.4
64+
rev: v1.5.3
6565
hooks:
6666
- id: autoflake
6767
args:
@@ -102,8 +102,9 @@ repos:
102102
types: [javascript]
103103
language: node
104104
additional_dependencies:
105-
- "eslint@7.32.0"
105+
- "eslint@v7.32.0"
106106
- "eslint-plugin-jsdoc@"
107+
- "globals@"
107108
- repo: https://github.com/pre-commit/pre-commit-hooks
108109
rev: v4.0.1
109110
hooks:
@@ -150,7 +151,7 @@ repos:
150151
- --header
151152
- "# generated from manifests external_dependencies"
152153
- repo: https://github.com/PyCQA/flake8
153-
rev: 3.9.2
154+
rev: 5.0.0
154155
hooks:
155156
- id: flake8
156157
name: flake8

0 commit comments

Comments
 (0)