1515 name : Lint
1616 runs-on : ubuntu-latest
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v5
1919 - name : Install uv
20- uses : astral-sh/setup-uv@v5
20+ uses : astral-sh/setup-uv@v6
2121 - name : Set up Python
2222 uses : actions/setup-python@v5
2323 with :
4949 - name : Linux py314
5050 pyversion : " 3.14"
5151 steps :
52- - uses : actions/checkout@v4
52+ - uses : actions/checkout@v5
5353 - name : Install uv
54- uses : astral-sh/setup-uv@v5
54+ uses : astral-sh/setup-uv@v6
5555 - name : Set up Python ${{ matrix.pyversion }}
5656 uses : actions/setup-python@v5
5757 with :
@@ -73,19 +73,19 @@ jobs:
7373 name : Build and test wheel
7474 runs-on : ubuntu-latest
7575 steps :
76- - uses : actions/checkout@v4
76+ - uses : actions/checkout@v5
7777 - name : Set up Python
7878 uses : actions/setup-python@v5
7979 with :
8080 python-version-file : " pyproject.toml"
8181 - name : Install uv
82- uses : astral-sh/setup-uv@v5
82+ uses : astral-sh/setup-uv@v6
8383 - name : Install dependencies
8484 run : uv sync
8585 - name : Build wheel
8686 run : uv build
8787 - name : Twine check
88- run : uv run twine check dist/*
88+ run : uvx twine check dist/*
8989 - name : Upload wheel artifact
9090 uses : actions/upload-artifact@v4
9191 with :
9797 runs-on : ubuntu-latest
9898 needs : [lint, test, build]
9999 if : success() && startsWith(github.ref, 'refs/tags/v')
100+ environment :
101+ name : pypi
102+ url : https://pypi.org/p/observ
103+ permissions :
104+ id-token : write
105+ contents : write
100106 steps :
101- - uses : actions/checkout@v4
107+ - uses : actions/checkout@v5
102108 - name : Download wheel artifact
103109 uses : actions/download-artifact@v4
104110 with :
@@ -115,6 +121,3 @@ jobs:
115121 prerelease : false
116122 - name : Publish to PyPI
117123 uses : pypa/gh-action-pypi-publish@release/v1
118- with :
119- user : __token__
120- password : ${{ secrets.PYPI_PASSWORD }}
0 commit comments