Skip to content

Getting "Fail to hash files under directory" error for .python-version file on self-hosted repo #28

Description

@aldy505

Environment

3.2.0

Steps to Reproduce

Bump from v3.1.0 to v3.2.0 without any configuration changes

Expected Result

Successful run, I guess?

Actual Result

Run getsentry/action-setup-venv@5a80476d175edf56cb205b08bc58986fa99d1725
  with:
    python-version: 3.12
    cache-dependency-path: uv.lock
    install-cmd: uv sync --frozen --active
    working-directory: /home/runner/work/self-hosted/self-hosted/./
    venv-dir: .venv
  env:
    REPORT_SELF_HOSTED_ISSUES: 0
    SELF_HOSTED_TESTING_DSN: https://foo@o1.ingest.us.sentry.io/6627632
    CONTAINER_ENGINE_PODMAN: 0
    UV_PYTHON_INSTALL_DIR: /home/runner/work/_temp/uv-python-dir
Error: The template is not valid. getsentry/action-setup-venv/5a80476d175edf56cb205b08bc58986fa99d1725/action.yml (Line: 30, Col: 30): hashFiles('/home/runner/work/self-hosted/self-hosted/.//.python-version') failed. Fail to hash files under directory '/home/runner/work/self-hosted/self-hosted'

.python-version file is declared here: https://github.com/getsentry/self-hosted/blob/master/.python-version

I don't know what the error message means.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions