Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try out potential new action #111

Closed
wants to merge 10 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,13 @@ runs:
python-version: "3.x"
update-environment: false

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Move deps to a public path so we can hash them in another action.
run: cp ${{ github.action_path }}/requirements/tools.txt .
shell: bash

- name: Find uv cache
run: echo "UV_CACHE=$(uv cache dir)" >>$GITHUB_ENV
shell: bash

- name: Cache uv
uses: actions/cache@v4
- uses: hynek/setup-cached-uv@v1
with:
path: ${{ env.UV_CACHE }}
key: ${{ runner.os }}-uv
cache-dependency-path: tools.txt

- name: Create venv for tools
run: >
Expand Down