Skip to content

Commit 57c89fd

Browse files
Update from copier (2026-07-28T13:22:15)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bc25389 commit 57c89fd

8 files changed

Lines changed: 91 additions & 72 deletions

File tree

.copier-answers.yaml

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
2-
_commit: '4875149'
2+
_commit: b2a4844
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: rustjswasm

.github/workflows/build.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ jobs:
3434
node-version: [22.x]
3535

3636
steps:
37-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
37+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
38+
with:
39+
persist-credentials: false
3840

39-
- uses: actions-ext/python/setup@main
41+
- uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446
4042
with:
4143
version: ${{ matrix.python-version }}
4244

43-
- uses: actions-ext/rust/setup@main
45+
- uses: actions-ext/rust/setup@c9cdbe5cc8a2485bf2eb22644302559c741ca763
4446

45-
- uses: actions-ext/node/setup@main
47+
- uses: actions-ext/node/setup@0ea5bdcd24d2488b28e16bf611b446a2f8e1e12f
4648
with:
4749
version: ${{ matrix.node-version }}
4850

@@ -64,7 +66,7 @@ jobs:
6466
run: make coverage
6567

6668
- name: Upload test results (Python)
67-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
69+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6870
with:
6971
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
7072
path: '**/junit.xml'
@@ -107,17 +109,17 @@ jobs:
107109
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0
108110
if: matrix.os != 'ubuntu-latest'
109111

110-
- uses: actions-ext/python/test-wheel@main
112+
- uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446
111113
with:
112114
module: python_template_rust
113115
if: matrix.os == 'ubuntu-latest'
114116

115-
- uses: actions-ext/python/test-sdist@main
117+
- uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446
116118
with:
117119
module: python_template_rust
118120
if: matrix.os == 'ubuntu-latest'
119121

120-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
122+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
121123
with:
122124
name: dist-${{matrix.os}}
123125
path: dist

.github/workflows/copier.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
pull-requests: write
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions-ext/copier-update@main
15+
- uses: actions-ext/copier-update@378500315a83b5985e175139a55f1fa5ea6dde09
1616
with:
1717
token: ${{ secrets.WORKFLOW_TOKEN }}

.github/workflows/docs.yaml

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,41 @@ jobs:
1616
runs-on: ubuntu-latest
1717
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1818
steps:
19-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
20-
- uses: actions-ext/python/setup@main
21-
22-
- name: Download dist from build
23-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
24-
with:
25-
pattern: dist-ubuntu-latest*
26-
merge-multiple: true
27-
path: dist
28-
run-id: ${{ github.event.workflow_run.id }}
29-
github-token: ${{ secrets.GITHUB_TOKEN }}
30-
repository: ${{ github.repository }}
31-
if: github.event_name == 'workflow_run'
32-
33-
- name: Install from wheel
34-
run: |
35-
uv pip install dist/*.whl
36-
uv pip install dist/*.whl --target . --no-deps
37-
uv pip install yardang
38-
if: github.event_name == 'workflow_run'
39-
40-
- name: Install from source (manual trigger)
41-
run: |
42-
make develop
43-
uv pip install .
44-
uv pip install yardang
45-
if: github.event_name == 'workflow_dispatch'
46-
47-
- run: yardang build
48-
49-
- uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
50-
with:
51-
publish_branch: gh-pages
52-
github_token: ${{ secrets.GITHUB_TOKEN }}
53-
publish_dir: docs/html
19+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20+
with:
21+
persist-credentials: false
22+
23+
- uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446
24+
25+
- name: Download dist from build
26+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
27+
with:
28+
pattern: dist-ubuntu-latest*
29+
merge-multiple: true
30+
path: dist
31+
run-id: ${{ github.event.workflow_run.id }}
32+
github-token: ${{ secrets.GITHUB_TOKEN }}
33+
repository: ${{ github.repository }}
34+
if: github.event_name == 'workflow_run'
35+
36+
- name: Install from wheel
37+
run: |
38+
uv pip install dist/*.whl
39+
uv pip install dist/*.whl --target . --no-deps
40+
uv pip install yardang
41+
if: github.event_name == 'workflow_run'
42+
43+
- name: Install from source (manual trigger)
44+
run: |
45+
make develop
46+
uv pip install .
47+
uv pip install yardang
48+
if: github.event_name == 'workflow_dispatch'
49+
50+
- run: yardang build
51+
52+
- uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
53+
with:
54+
publish_branch: gh-pages
55+
github_token: ${{ secrets.GITHUB_TOKEN }}
56+
publish_dir: docs/html

.github/workflows/wiki.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ jobs:
2020
deploy:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
24-
- run: cp README.md docs/wiki/Home.md
25-
- uses: Andrew-Chen-Wang/github-wiki-action@1bbb4280446f9630e8e21a18012cbacf3b0f992e # v5.0.6
26-
with:
27-
path: docs/wiki
23+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24+
with:
25+
persist-credentials: false
26+
27+
- run: cp README.md docs/wiki/Home.md
28+
- uses: Andrew-Chen-Wang/github-wiki-action@1bbb4280446f9630e8e21a18012cbacf3b0f992e # v5.0.6
29+
with:
30+
path: docs/wiki

Cargo.lock

Lines changed: 31 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"scripts": {
2929
"setup": "cargo install -f wasm-bindgen-cli --version 0.2.126 --locked",
3030
"build:debug": "node build.mjs --debug",
31-
"build:rust": "cargo build --release --all-features --target wasm32-unknown-unknown",
31+
"build:rust": "cargo build --release --all-features --target wasm32-unknown-unknown --target-dir ../target",
3232
"build:wasm-bindgen": "wasm-bindgen ../target/wasm32-unknown-unknown/release/python_template_rust.wasm --out-dir ./dist/pkg --target web",
3333
"build:prod": "node build.mjs",
3434
"build": "npm-run-all build:rust build:wasm-bindgen build:prod",

python_template_rust/tests/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from python_template_rust import * # noqa
1+
from python_template_rust import *
22

33

44
def test_all():

0 commit comments

Comments
 (0)