-
Notifications
You must be signed in to change notification settings - Fork 0
ci: remove explicit 'latest' version settings for Python and Node.js #213
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,6 @@ jobs: | |
|
|
||
| - uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: latest | ||
| cache: 'npm' | ||
|
|
||
| - name: version | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -51,7 +51,6 @@ jobs: | |||||||
|
|
||||||||
| - uses: astral-sh/setup-uv@v7 | ||||||||
| with: | ||||||||
|
||||||||
| with: | |
| with: | |
| python-version: '3.12' |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,7 +22,6 @@ jobs: | |||||||
|
|
||||||||
| - uses: actions/setup-node@v6 | ||||||||
| with: | ||||||||
|
||||||||
| with: | |
| with: | |
| node-version: '20' |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -51,7 +51,6 @@ jobs: | |||||||
|
|
||||||||
| - uses: actions/setup-node@v6 | ||||||||
| with: | ||||||||
|
||||||||
| with: | |
| with: | |
| node-version: '20' |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -45,7 +45,6 @@ jobs: | |||||||
|
|
||||||||
| - uses: astral-sh/setup-uv@v7 | ||||||||
| with: | ||||||||
|
||||||||
| with: | |
| with: | |
| python-version: '3.12' |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -61,7 +61,6 @@ jobs: | |||||||
|
|
||||||||
| - uses: actions/setup-node@v6 | ||||||||
| with: | ||||||||
|
||||||||
| with: | |
| with: | |
| node-version: '22' |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -48,7 +48,6 @@ jobs: | |||||||
|
|
||||||||
| - uses: actions/setup-python@v6 | ||||||||
| with: | ||||||||
|
||||||||
| with: | |
| with: | |
| python-version: '3.12' |
Copilot
AI
Jan 28, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the python-version specification makes the build non-deterministic. Without an explicit version, astral-sh/setup-uv will use the system Python version, which can vary across runner updates. This could lead to inconsistent source distribution builds. Consider specifying a version explicitly (e.g., '3.11' or '3.12') or use a .python-version file to ensure reproducible builds.
| with: | |
| with: | |
| python-version: '3.12' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the node-version specification makes the npm publishing step non-deterministic. Without an explicit version, actions/setup-node will use the runner's default Node.js version, which can change when GitHub updates their runners. This could lead to inconsistent builds or publishing failures if the default version changes. Consider specifying a version explicitly (e.g., '20' or '22') to ensure reproducible builds.