Skip to content

Commit 1994b0b

Browse files
Update from copier (2026-07-26T07:31:23)
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6fa6256 commit 1994b0b

5 files changed

Lines changed: 81 additions & 81 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: c2ea129
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: true
55
add_extension: cpp

.github/workflows/build.yaml

Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,63 +30,60 @@ jobs:
3030
strategy:
3131
matrix:
3232
os: [ubuntu-latest, macos-latest, windows-latest]
33-
python-version: ["3.11", "3.12", "3.13"]
34-
cibuildwheel: ["cp311", "cp312", "cp313"]
35-
exclude:
36-
- python-version: "3.11"
37-
cibuildwheel: "cp312"
38-
- python-version: "3.11"
39-
cibuildwheel: "cp313"
40-
- python-version: "3.12"
41-
cibuildwheel: "cp311"
42-
- python-version: "3.12"
43-
cibuildwheel: "cp313"
44-
- python-version: "3.13"
33+
python:
34+
- version: "3.11"
4535
cibuildwheel: "cp311"
46-
- python-version: "3.13"
36+
primary: true
37+
- version: "3.12"
4738
cibuildwheel: "cp312"
39+
<<<<<<< before updating
4840

4941
steps:
5042
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
43+
=======
44+
primary: false
45+
- version: "3.13"
46+
cibuildwheel: "cp313"
47+
primary: false
48+
>>>>>>> after updating
5149

52-
- uses: actions-ext/python/setup@main
50+
steps:
51+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5352
with:
54-
version: ${{ matrix.python-version }}
53+
persist-credentials: false
5554

56-
- name: Install dependencies
57-
run: make develop
58-
if: matrix.os != 'windows-latest'
55+
- uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446
56+
with:
57+
version: ${{ matrix.python.version }}
58+
59+
- uses: actions-ext/cpp/setup@51c484ef64088c62434226039d0e3359f5fc8df6
5960

6061
- name: Install dependencies
61-
run: |
62-
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat"
63-
make develop
64-
shell: cmd
65-
if: matrix.os == 'windows-latest'
62+
run: make develop
6663

6764
- name: Lint
6865
run: make lint
69-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
66+
if: matrix.os == 'ubuntu-latest' && matrix.python.primary
7067

7168
- name: Checks
7269
run: make checks
73-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
70+
if: matrix.os == 'ubuntu-latest' && matrix.python.primary
7471

7572
- name: Test
7673
run: make coverage
7774

7875
- name: Upload test results (Python)
79-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
76+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8077
with:
81-
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
78+
name: test-results-${{ matrix.os }}-${{ matrix.python.version }}
8279
path: junit.xml
83-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
80+
if: matrix.os == 'ubuntu-latest' && matrix.python.primary
8481

8582
- name: Publish Unit Test Results
8683
uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0
8784
with:
8885
files: '**/junit.xml'
89-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
86+
if: matrix.os == 'ubuntu-latest' && matrix.python.primary
9087

9188
- name: Upload coverage
9289
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
@@ -103,7 +100,7 @@ jobs:
103100
make dist-py-wheel
104101
make dist-check
105102
env:
106-
CIBW_BUILD: "${{ matrix.cibuildwheel }}-manylinux*"
103+
CIBW_BUILD: "${{ matrix.python.cibuildwheel }}-manylinux*"
107104
CIBW_BUILD_VERBOSITY: 3
108105
if: matrix.os == 'ubuntu-latest'
109106

@@ -112,32 +109,29 @@ jobs:
112109
rm -rf dist
113110
make dist-py-wheel
114111
env:
115-
CIBW_BUILD: "${{ matrix.cibuildwheel }}-macos*"
112+
CIBW_BUILD: "${{ matrix.python.cibuildwheel }}-macos*"
116113
CIBW_BUILD_VERBOSITY: 3
117114
if: matrix.os == 'macos-latest'
118115

119116
- name: Make dist (Windows)
120117
run: |
121-
if exist dist rmdir /s /q dist
122-
for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%%i\VC\Auxiliary\Build\vcvars64.bat"
118+
if (Test-Path dist) { Remove-Item dist -Recurse -Force }
123119
make dist-py-wheel
124-
shell: cmd
125120
env:
126-
CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64"
127-
CIBW_BEFORE_ALL: for /f "usebackq tokens=*" %i in (`vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do call "%i\VC\Auxiliary\Build\vcvars64.bat"
121+
CIBW_BUILD: "${{ matrix.python.cibuildwheel }}-win_amd64"
128122
if: matrix.os == 'windows-latest'
129123

130-
- uses: actions-ext/python/test-wheel@main
124+
- uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446
131125
with:
132126
module: python_template_cpp
133127
if: matrix.os == 'ubuntu-latest'
134128

135-
- uses: actions-ext/python/test-sdist@main
129+
- uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446
136130
with:
137131
module: python_template_cpp
138132
if: matrix.os == 'ubuntu-latest'
139133

140-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
134+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
141135
with:
142-
name: dist-${{matrix.os}}-${{matrix.python-version}}
136+
name: dist-${{matrix.os}}-${{matrix.python.version}}
143137
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: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,40 @@ 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-3.11
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-
uv pip install .[develop]
43-
uv pip install yardang
44-
if: github.event_name == 'workflow_dispatch'
45-
46-
- run: yardang build
47-
48-
- uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
49-
with:
50-
publish_branch: gh-pages
51-
github_token: ${{ secrets.GITHUB_TOKEN }}
52-
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-3.11
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+
uv pip install .[develop]
46+
uv pip install yardang
47+
if: github.event_name == 'workflow_dispatch'
48+
49+
- run: yardang build
50+
51+
- uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0
52+
with:
53+
publish_branch: gh-pages
54+
github_token: ${{ secrets.GITHUB_TOKEN }}
55+
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

0 commit comments

Comments
 (0)