diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index bbcf594..e6514e6 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -5,23 +5,26 @@ on: branches: [main] paths: - 'action.yml' - - 'requirements.txt' + - '.python-version' + - 'uv.lock' - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' pull_request: - branches: main - paths: - - 'action.yml' - - 'requirements.txt' - - 'docs/examples/demo/**' - - '.github/workflows/self-test.yml' - pull_request_target: - branches: main + branches: [main] paths: - 'action.yml' - - 'requirements.txt' + - '.python-version' + - 'uv.lock' - 'docs/examples/demo/**' - '.github/workflows/self-test.yml' + # pull_request_target: + # branches: [main] + # paths: + # - 'action.yml' + # - '.python-version' + # - 'uv.lock' + # - 'docs/examples/demo/**' + # - '.github/workflows/self-test.yml' jobs: test: diff --git a/.gitignore b/.gitignore index e4f8893..a5764fb 100644 --- a/.gitignore +++ b/.gitignore @@ -91,9 +91,6 @@ target/ profile_default/ ipython_config.py -# pyenv -.python-version - # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. # However, in case of collaboration, if having platform-specific dependencies or dependencies diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12 diff --git a/action.yml b/action.yml index 8794465..141269a 100644 --- a/action.yml +++ b/action.yml @@ -337,7 +337,7 @@ runs: shell: nu {0} env: UV_NO_MODIFY_PATH: 1 - UV_VERSION: '0.8.11' + UV_VERSION: '0.9.5' run: |- let action_path = $env.GITHUB_ACTION_PATH | path expand $env.UV_INSTALL_DIR = $action_path | path join 'bin'