Skip to content

Commit

Permalink
Fix cache versions
Browse files Browse the repository at this point in the history
  • Loading branch information
CarrotManMatt committed Nov 4, 2024
1 parent ab9bc2e commit 832510d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/check_build_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
--python ${{ matrix.python-version }} python -VV | sha256sum
| cut -d' ' -f1)" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ./.mypy_cache
key: mypy|${{ env.HASHED_PYTHON_VERSION }}
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
--python ${{ matrix.python-version }} python -VV | sha256sum
| cut -d' ' -f1)" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.HASHED_PYTHON_VERSION }}|${{ hashFiles('.pre-commit-config.yaml')}}
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
--python ${{ matrix.python-version }} python -VV | sha256sum
| cut -d' ' -f1)" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ./.pytest_cache
key: pytest|${{ env.HASHED_PYTHON_VERSION }}
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
--python ${{ matrix.python-version }} python -VV | sha256sum
| cut -d' ' -f1)" >> $GITHUB_ENV

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ./.ruff_cache
key: ruff|${{ env.HASHED_PYTHON_VERSION }}
Expand Down Expand Up @@ -224,6 +224,8 @@ jobs:

- name: Install Golang
uses: actions/setup-go@v5
with:
cache: false

- name: Install yamlfmt
run: go install github.com/google/yamlfmt/cmd/yamlfmt@latest
Expand Down

0 comments on commit 832510d

Please sign in to comment.