Skip to content

Commit

Permalink
Merge pull request #95 from itpp-labs/sync-cache
Browse files Browse the repository at this point in the history
Sync cache
  • Loading branch information
yelizariev authored Feb 26, 2025
2 parents bd3eb2b + fce61f6 commit d125820
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
python-version: "3.10"
- name: Check Python Version
run: echo "PY=$(python --version --version | 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
2 changes: 1 addition & 1 deletion static-files/all/.github/workflows/DINAR-PORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
path: REPO
fetch-depth: 0
ref: ${{ env.PORT_TO_BRANCH }}
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('REPO/.pre-commit-config.yaml') }}
Expand Down
6 changes: 3 additions & 3 deletions static-files/all/.github/workflows/DINAR-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run:
echo "PY=$(python --version --version | 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 Expand Up @@ -83,7 +83,7 @@ jobs:
run:
echo "PY=$(python --version --version | 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('REPO/.pre-commit-config.yaml') }}
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
echo "${{ env.PR_MODULES_DEPS }}" > new-deps/modules.txt
echo "ARTIFACT=yes" >> $GITHUB_ENV
- name: Save DINAR with dependencies
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: new-deps
path: new-deps/
Expand Down

0 comments on commit d125820

Please sign in to comment.