Skip to content

Commit

Permalink
[FIX] github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Feb 28, 2025
1 parent c736e4c commit 6e19f1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
OPENUPGRADE_USE_DEMO: "yes"
steps:
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Configure Postgres
Expand Down Expand Up @@ -63,14 +63,14 @@ jobs:
# - git reset -q --hard $TRAVIS_COMMIT
# Install Python requirements of target release
- name: Check out Odoo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: odoo/odoo
ref: "14.0"
fetch-depth: 1
path: odoo
- name: Check out OpenUpgrade
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: openupgrade
- name: Configuration
Expand Down

0 comments on commit 6e19f1a

Please sign in to comment.