-
Notifications
You must be signed in to change notification settings - Fork 0
Improve CI/CD test matrix and poe tasks #30
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
base: main
Are you sure you want to change the base?
Changes from all commits
73578d6
571d144
41a6c40
3fbd926
bfa8edd
8f6a7e4
e4a45d0
9e13a1c
3af8557
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 |
|---|---|---|
|
|
@@ -52,7 +52,7 @@ jobs: | |
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | ||
| - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 | ||
| with: | ||
| enable-cache: false | ||
|
|
||
|
|
@@ -111,7 +111,9 @@ jobs: | |
| permissions: | ||
| id-token: write | ||
| steps: | ||
| - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | ||
| - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 | ||
| with: | ||
| enable-cache: false | ||
|
|
||
| - name: Download distribution artifacts | ||
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | ||
|
|
@@ -122,6 +124,38 @@ jobs: | |
| - name: Publish to PyPI | ||
| run: uv publish --trusted-publishing always | ||
|
|
||
| publish-photon: | ||
| name: 📤 Publish to photon-manifest | ||
| needs: [release-please, build, attest-artifacts] | ||
| if: needs.release-please.outputs.release_created == 'true' | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| environment: | ||
| name: photon | ||
| url: https://py.wlix13.dev/simple/nullforge/ | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 | ||
| with: | ||
| enable-cache: false | ||
|
|
||
| - name: Download distribution artifacts | ||
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | ||
| with: | ||
| name: python-package-distributions | ||
| path: dist/ | ||
|
|
||
| - name: Publish to photon-manifest | ||
| env: | ||
| UV_PUBLISH_TOKEN: ${{ secrets.PHOTON_PUBLISH_TOKEN }} | ||
| run: | | ||
| uv auth login https://py.wlix13.dev/simple/ --token "$UV_PUBLISH_TOKEN" | ||
| uv publish \ | ||
| --publish-url https://py.wlix13.dev/legacy/ \ | ||
| --check-url https://py.wlix13.dev/simple/ \ | ||
| --no-attestations | ||
|
|
||
| finalize-release: | ||
| name: 🚀 Attach assets and publish | ||
| needs: [release-please, build, attest-artifacts, publish-pypi] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: sed -n '1,210p' .github/workflows/release-please.yamlRepository: wlix13/NullForge Length of output: 7359 🏁 Script executed: sed -n '200,360p' .github/workflows/release-please.yaml
printf '\n--- focused references ---\n'
rg -n --glob '!site/**' --glob '!dist/**' 'publish-photon|photon-manifest|finalize-release|draft=false|py\.wlix13\.dev' .Repository: wlix13/NullForge Length of output: 1576 Make If 🤖 Prompt for AI Agents |
||
|
|
||
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.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: wlix13/NullForge
Length of output: 13759
Use
uv run poefor the documented Poe commands.uv syncinstallspoethepoetin the project environment but does not activate that environment. A normal contributor shell therefore cannot resolve barepoeunless the contributor separately activates.venvor installs Poe globally. The documented commands should be:.github/CONTRIBUTING.md:uv run poe docsdocs/contributing/development.md:uv run poe docs:devanduv run poe docs🤖 Prompt for AI Agents