|
|
@@ -17,8 +17,8 @@ jobs:
|
|
|
lint:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
- - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
|
with:
|
|
|
python-version: "3.13"
|
|
|
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
|
|
@@ -36,16 +36,16 @@ jobs:
|
|
|
- ubuntu-latest
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
|
- - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
- name: Set up uv
|
|
|
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
|
|
|
+ uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
|
|
|
with:
|
|
|
enable-cache: true
|
|
|
- name: Install poetry
|
|
|
run: uv tool install poetry
|
|
|
- name: Set up Python
|
|
|
id: setup-python
|
|
|
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
|
|
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
cache: "poetry"
|
|
|
@@ -80,7 +80,7 @@ jobs:
|
|
|
contents: read
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
|
fetch-depth: 0
|
|
|
ref: ${{ github.ref }}
|
|
|
@@ -91,7 +91,7 @@ jobs:
|
|
|
run: git switch -C "$BRANCH"
|
|
|
|
|
|
- name: Test release
|
|
|
- uses: python-semantic-release/python-semantic-release@350c48fcb3ffcdfd2e0a235206bc2ecea6b69df0 # v10.5.3
|
|
|
+ uses: python-semantic-release/python-semantic-release@39dd2052f2ce8282a5d932c31d58a2ca06d2550e # v10.6.1
|
|
|
with:
|
|
|
no_operation_mode: true
|
|
|
|
|
|
@@ -127,7 +127,7 @@ jobs:
|
|
|
app-id: ${{ secrets.RELEASE_APP_ID }}
|
|
|
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
|
|
|
|
|
|
- - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
with:
|
|
|
fetch-depth: 0
|
|
|
ref: ${{ github.ref }}
|
|
|
@@ -139,13 +139,13 @@ jobs:
|
|
|
run: git switch -C "$BRANCH"
|
|
|
|
|
|
- name: Release
|
|
|
- uses: python-semantic-release/python-semantic-release@350c48fcb3ffcdfd2e0a235206bc2ecea6b69df0 # v10.5.3
|
|
|
+ uses: python-semantic-release/python-semantic-release@39dd2052f2ce8282a5d932c31d58a2ca06d2550e # v10.6.1
|
|
|
id: release
|
|
|
with:
|
|
|
github_token: ${{ steps.app-token.outputs.token }}
|
|
|
|
|
|
- name: Publish package distributions to PyPI
|
|
|
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
|
|
|
+ uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1
|
|
|
if: steps.release.outputs.released == 'true'
|
|
|
|
|
|
- name: Publish package distributions to GitHub Releases
|