Skip to content

Commit 04c1c81

Browse files
committed
chore: update to ss-cpp 0.8.38
Signed-off-by: l.feng <[email protected]>
1 parent 0fce71c commit 04c1c81

15 files changed

+106
-69
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: v0.8.35
2+
_commit: v0.8.38
33
_src_path: https://github.com/serious-scaffold/ss-pybind11
44
author_email: [email protected]
55
author_name: l.feng

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
name: Build SDist
2121
runs-on: ubuntu-24.04
2222
steps:
23-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
23+
- uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

2727
- name: Build SDist
2828
run: pipx run build --sdist
2929

30-
- uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
30+
- uses: actions/upload-artifact@v4
3131
with:
3232
name: cibw-sdist
3333
path: dist/*.tar.gz
@@ -46,7 +46,7 @@ jobs:
4646
needs: [build_wheels, build_sdist]
4747
runs-on: ubuntu-24.04
4848
steps:
49-
- uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4
49+
- uses: actions/download-artifact@v4
5050
with:
5151
pattern: cibw-*
5252
path: dist
@@ -66,7 +66,7 @@ jobs:
6666
if: github.event_name == 'release' && github.event.action == 'published'
6767

6868
steps:
69-
- uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4
69+
- uses: actions/download-artifact@v4
7070
with:
7171
pattern: cibw-*
7272
path: dist

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
pre-commit:
2424
runs-on: ubuntu-24.04
2525
steps:
26-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
26+
- uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
2929

30-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
30+
- uses: actions/setup-python@v5
3131
with:
3232
python-version: 3.x
3333

34-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
34+
- uses: pre-commit/[email protected]
3535
with:
3636
extra_args: --hook-stage manual --all-files
3737

@@ -55,12 +55,12 @@ jobs:
5555
needs: [pre-commit]
5656

5757
steps:
58-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
58+
- uses: actions/checkout@v4
5959
with:
6060
fetch-depth: 0
6161

6262
- name: Cache
63-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
63+
uses: actions/cache@v4
6464
with:
6565
path: |
6666
~/vcpkg
@@ -69,7 +69,7 @@ jobs:
6969
key: codecov-${{ hashFiles('vcpkg.json') }}
7070
restore-keys: codecov-${{ hashFiles('vcpkg.json') }}
7171

72-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
72+
- uses: actions/setup-python@v5
7373
with:
7474
python-version: 3.x
7575

@@ -82,7 +82,7 @@ jobs:
8282
--durations=20
8383
8484
- name: Upload coverage report
85-
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
85+
uses: codecov/codecov-action@v5
8686
with:
8787
token: ${{ secrets.CODECOV_TOKEN }}
8888

@@ -92,12 +92,12 @@ jobs:
9292
needs: [pre-commit]
9393

9494
steps:
95-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
95+
- uses: actions/checkout@v4
9696
with:
9797
fetch-depth: 0
9898

9999
- name: Cache
100-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
100+
uses: actions/cache@v4
101101
with:
102102
path: |
103103
~/vcpkg
@@ -106,7 +106,7 @@ jobs:
106106
key: docs-${{ hashFiles('vcpkg.json') }}
107107
restore-keys: docs-${{ hashFiles('vcpkg.json') }}
108108

109-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
109+
- uses: actions/setup-python@v5
110110
with:
111111
python-version: 3.x
112112

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,31 @@ jobs:
4444

4545
steps:
4646
- name: Checkout repository
47-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
47+
uses: actions/checkout@v4
4848
with:
4949
fetch-depth: 0
5050

5151
- name: Initialize CodeQL
52-
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
52+
uses: github/codeql-action/init@v3
5353
with:
5454
languages: ${{ matrix.language }}
5555
config-file: ./.github/codeql-config.yml
5656

5757
- name: Cache
58-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
58+
uses: actions/cache@v4
5959
with:
6060
path: |
6161
~/vcpkg
6262
~/.cache/vcpkg
6363
key: codeql-${{ hashFiles('vcpkg.json') }}
6464
restore-keys: codeql-${{ hashFiles('vcpkg.json') }}
6565

66-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
66+
- uses: actions/setup-python@v5
6767
with:
6868
python-version: 3.x
6969

7070
- name: Build
7171
run: python -m pip install .[test]
7272

7373
- name: Perform CodeQL Analysis
74-
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
74+
uses: github/codeql-action/analyze@v3

.github/workflows/pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
id-token: write
3131

3232
steps:
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
33+
- uses: actions/checkout@v4
3434
with:
3535
token: ${{ secrets.GITHUB_TOKEN }}
3636
ref: ${{ github.head_ref }}
3737

3838
- name: Cache
39-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
39+
uses: actions/cache@v4
4040
with:
4141
path: |
4242
~/vcpkg
@@ -45,15 +45,15 @@ jobs:
4545
key: cd-pages-${{ hashFiles('vcpkg.json') }}
4646
restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }}
4747

48-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
48+
- uses: actions/setup-python@v5
4949
with:
5050
python-version: 3.x
5151

5252
- name: Build Docs
5353
run: pipx run nox -s docs
5454

5555
- name: Deploy to GitHub Pages
56-
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
56+
uses: peaceiris/actions-gh-pages@v4
5757
with:
5858
github_token: ${{ secrets.GITHUB_TOKEN }}
5959
publish_dir: ./docs/_build/html

.github/workflows/renovate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
RENOVATE_PLATFORM: github
2020
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
2121
RENOVATE_REPOSITORY_CACHE: enabled
22-
image: ghcr.io/renovatebot/renovate:39.190.0@sha256:a48e70711ef823e6f0debb8f45cc670018da3a519dc4b787ea77d0aea77a56c6
22+
image: ghcr.io/renovatebot/renovate:39.233.5@sha256:84b33fa815229cd70dabb3ac4a0abd96515933038bfb20b2bad13ed06bace951
2323
options: --user root
2424
runs-on: ubuntu-24.04
2525
steps:
@@ -28,7 +28,7 @@ jobs:
2828
- name: Generate a token with GitHub App if App ID exists
2929
id: generate-token
3030
if: vars.BOT_APP_ID
31-
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1
31+
uses: actions/create-github-app-token@v2
3232
with:
3333
app-id: ${{ vars.BOT_APP_ID }}
3434
private-key: ${{ secrets.BOT_PRIVATE_KEY }}

.github/workflows/reuseable_cibuildwheel.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- {os: macos-14, arch: arm64, build: macos}
3232

3333
steps:
34-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
34+
- uses: actions/checkout@v4
3535
if: >
3636
inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
3737
inputs.extra && contains(matrix.qemu_arch, matrix.arch)
@@ -40,19 +40,19 @@ jobs:
4040

4141
- name: Set up msvc on Windows
4242
if: runner.os == 'Windows' && inputs.auto && !contains(matrix.qemu_arch, matrix.arch)
43-
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1
43+
uses: ilammy/msvc-dev-cmd@v1
4444
with:
4545
arch: ${{ matrix.arch }}
4646

4747
- name: Set up QEMU
48-
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
48+
uses: docker/setup-qemu-action@v3
4949
if: runner.os == 'Linux' && inputs.extra && contains(matrix.qemu_arch, matrix.arch)
5050

5151
- name: Cache
5252
if: >
5353
inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
5454
inputs.extra && contains(matrix.qemu_arch, matrix.arch)
55-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
55+
uses: actions/cache@v4
5656
with:
5757
path: |
5858
~/.cache/vcpkg
@@ -64,7 +64,7 @@ jobs:
6464
if: >
6565
inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
6666
inputs.extra && contains(matrix.qemu_arch, matrix.arch)
67-
uses: pypa/cibuildwheel@6cccd09a31908ffd175b012fb8bf4e1dbda3bc6c # v2.23.0
67+
uses: pypa/[email protected].2
6868
env:
6969
CIBW_ARCHS: ${{ matrix.arch }}
7070
CIBW_BUILD: cp39-${{ matrix.build }}*
@@ -77,7 +77,7 @@ jobs:
7777
if: >
7878
inputs.auto && !contains(matrix.qemu_arch, matrix.arch) ||
7979
inputs.extra && contains(matrix.qemu_arch, matrix.arch)
80-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
80+
uses: actions/upload-artifact@v4
8181
with:
8282
name: cibw-${{ matrix.os }}-${{ matrix.build }}-${{ matrix.arch }}
8383
path: wheelhouse/*.whl

.github/workflows/semantic-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Generate a bot token with BOT_APP_ID
2525
id: bot_token
2626
if: vars.BOT_APP_ID && env.BOT_PRIVATE_KEY != null
27-
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1
27+
uses: actions/create-github-app-token@v2
2828
env:
2929
BOT_PRIVATE_KEY: ${{ secrets.BOT_PRIVATE_KEY }}
3030
with:
@@ -40,13 +40,13 @@ jobs:
4040
echo "# :warning: GITHUB_TOKEN is used" >> $GITHUB_STEP_SUMMARY
4141
echo "The GITHUB_TOKEN is used instead of a bot token or PAT that will not emit the released publish event for triggering a released workflow." >> $GITHUB_STEP_SUMMARY
4242
43-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
43+
- uses: actions/checkout@v4
4444
with:
4545
fetch-depth: 0
4646
token: ${{ steps.bot_token.outputs.token || secrets.PAT || secrets.GITHUB_TOKEN }}
4747

4848
- name: Setup Node.js
49-
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
49+
uses: actions/setup-node@v4
5050
with:
5151
node-version: lts/*
5252

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repos:
4848

4949
# Strong lint from ruff
5050
- repo: https://github.com/astral-sh/ruff-pre-commit
51-
rev: v0.9.9
51+
rev: v0.11.4
5252
hooks:
5353
- id: ruff
5454
args: [--fix, --show-fixes]
@@ -101,14 +101,14 @@ repos:
101101
102102
# Check pyproject
103103
- repo: https://github.com/abravalheri/validate-pyproject
104-
rev: v0.23
104+
rev: v0.24.1
105105
hooks:
106106
- id: validate-pyproject
107107
additional_dependencies: ['validate-pyproject-schema-store[all]>=2024.10.21']
108108

109109
# Check jsonschema
110110
- repo: https://github.com/python-jsonschema/check-jsonschema
111-
rev: 0.31.2
111+
rev: 0.32.1
112112
hooks:
113113
- id: check-dependabot
114114
- id: check-github-workflows
@@ -138,7 +138,7 @@ repos:
138138

139139
# Check for renovate config
140140
- repo: https://github.com/renovatebot/pre-commit-hooks
141-
rev: 39.185.9
141+
rev: 39.227.2
142142
hooks:
143143
- id: renovate-config-validator
144144
stages: [manual]

.renovaterc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended",
5-
"helpers:pinGitHubActionDigests",
65
":enablePreCommit"
76
],
87
"automergeType": "pr",
@@ -63,10 +62,11 @@
6362
"datasourceTemplate": "pypi",
6463
"fileMatch": [
6564
"^\\.github/workflows/.+\\.yml$",
66-
"^\\.renovaterc\\.json$"
65+
"^\\.renovaterc\\.json$",
66+
"^pyproject\\.toml$"
6767
],
6868
"matchStrings": [
69-
"pipx? install.* (?<depName>.*?)==(?<currentValue>.*?)[\\s\";]"
69+
"pipx? install.* (?<depName>.*?)==(?<currentValue>.*?)[\\s\";']"
7070
]
7171
},
7272
{

0 commit comments

Comments
 (0)