Skip to content
Merged
Show file tree
Hide file tree
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
23 changes: 13 additions & 10 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Comment on lines +20 to +27
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change will not take effect until merged to main.

FYI, it doesn't make sense to use thread-comments and pull_request_target together. Also pull_request and pull_request_target produce duplicate runs, but pull_request_target doesn't run against the proposed changes.


jobs:
test:
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading