Skip to content

Commit 17550b4

Browse files
[UPD] Update workflows
1 parent b3a9185 commit 17550b4

5 files changed

Lines changed: 9 additions & 7 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
additional_ruff_rules: []
55
ci: GitHub

.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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
hooks:
4444
- id: whool-init
4545
- repo: https://github.com/oca/maintainer-tools
46-
rev: d5fab7ee87fceee858a3d01048c78a548974d935
46+
rev: f9b919b9868143135a9c9cb03021089cabba8223
4747
hooks:
4848
# update the NOT INSTALLABLE ADDONS section above
4949
- id: oca-update-pre-commit-excluded-addons
@@ -95,6 +95,7 @@ repos:
9595
additional_dependencies:
9696
- "eslint@8.24.0"
9797
- "eslint-plugin-jsdoc@"
98+
- "globals@"
9899
- repo: https://github.com/pre-commit/pre-commit-hooks
99100
rev: v4.3.0
100101
hooks:

.ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ extend-select = [
1010
"I", # isort
1111
"UP", # pyupgrade
1212
]
13+
extend-safe-fixes = ["UP008"]
1314
exclude = ["setup/*"]
1415

1516
[format]

0 commit comments

Comments
 (0)