Skip to content

Commit

Permalink
fix step output name for uv-cache (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Aug 2, 2024
1 parent 4e37225 commit ddc1160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed

- Adjusted how the `SECRET_KEY` is formatted within the template's `settings.py`. When updating a project that uses this template, this part of the file is always a merge conflict as after ruff formats the file it get's split across newlines due to the length of the secret key automatically generated by this template. Hopefully this will remove the need to manually intervene every single time for these lines.
- Fixed the reference to the cache dir output from `py-cache` to `uv-cache` in the `tests.yml` GitHub Actions workflow.

## [2024.38]

Expand Down
6 changes: 3 additions & 3 deletions src/django_twc_project/.github/workflows/test.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/cache@v4
id: cache-uv
with:
path: {% raw %}${{ steps.py-cache.outputs.dir }}{% endraw %}
path: {% raw %}${{ steps.uv-cache.outputs.dir }}{% endraw %}
key: {% raw %}${{ runner.os }}-uv-${{ hashFiles('**/requirements.txt') }}{% endraw %}
restore-keys: |
{% raw %}${{ runner.os }}-uv-{% endraw %}
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- uses: actions/cache@v4
id: cache-uv
with:
path: {% raw %}${{ steps.py-cache.outputs.dir }}{% endraw %}
path: {% raw %}${{ steps.uv-cache.outputs.dir }}{% endraw %}
key: {% raw %}${{ runner.os }}-uv-${{ hashFiles('**/requirements.txt') }}{% endraw %}
restore-keys: |
{% raw %}${{ runner.os }}-uv-{% endraw %}
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
- uses: actions/cache@v4
id: cache-uv
with:
path: {% raw %}${{ steps.py-cache.outputs.dir }}{% endraw %}
path: {% raw %}${{ steps.uv-cache.outputs.dir }}{% endraw %}
key: {% raw %}${{ runner.os }}-uv-${{ hashFiles('**/requirements.txt') }}{% endraw %}
restore-keys: |
{% raw %}${{ runner.os }}-uv-{% endraw %}
Expand Down

0 comments on commit ddc1160

Please sign in to comment.