@@ -35,28 +35,24 @@ jobs:
3535 node-version : [22.x]
3636
3737 steps :
38- - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
38+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
39+ with :
40+ persist-credentials : false
3941
40- - uses : actions-ext/python/setup@main
42+ - uses : actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446
4143 with :
4244 version : ${{ matrix.python-version }}
4345
44- - uses : actions-ext/node/setup@main
46+ - uses : actions-ext/node/setup@0ea5bdcd24d2488b28e16bf611b446a2f8e1e12f
4547 with :
4648 version : ${{ matrix.node-version }}
4749
48- - uses : mymindstorm/ setup-emsdk@v16
50+ - uses : actions-ext/cpp/ setup@51c484ef64088c62434226039d0e3359f5fc8df6
4951
50- - name : Install dependencies
51- run : make develop
52- if : matrix.os != 'windows-latest'
52+ - uses : mymindstorm/setup-emsdk@4528d102f7230f0e7b276855c01ea1159be0e984 # v16
5353
5454 - name : Install dependencies
55- run : |
56- 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"
57- make develop
58- shell : cmd
59- if : matrix.os == 'windows-latest'
55+ run : make develop
6056
6157 - name : Lint
6258 run : make lint
@@ -70,17 +66,17 @@ jobs:
7066 run : make coverage
7167
7268 - name : Upload test results (Python)
73- uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
69+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7470 with :
7571 name : test-results-${{ matrix.os }}-${{ matrix.python-version }}
7672 path : junit.xml
77- if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
73+ if : matrix.os == 'ubuntu-latest'
7874
7975 - name : Publish Unit Test Results
8076 uses : EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0
8177 with :
8278 files : ' **/junit.xml'
83- if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
79+ if : matrix.os == 'ubuntu-latest'
8480
8581 - name : Upload coverage
8682 uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
@@ -112,26 +108,23 @@ jobs:
112108
113109 - name : Make dist (Windows)
114110 run : |
115- if exist dist rmdir /s /q dist
116- 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"
111+ if (Test-Path dist) { Remove-Item dist -Recurse -Force }
117112 make dist-py-wheel
118- shell : cmd
119113 env :
120114 CIBW_BUILD : " ${{ matrix.cibuildwheel }}-win_amd64"
121- 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"
122115 if : matrix.os == 'windows-latest'
123116
124- - uses : actions-ext/python/test-wheel@main
117+ - uses : actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446
125118 with :
126119 module : python_template_cppjswasm
127120 if : matrix.os == 'ubuntu-latest'
128121
129- - uses : actions-ext/python/test-sdist@main
122+ - uses : actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446
130123 with :
131124 module : python_template_cppjswasm
132125 if : matrix.os == 'ubuntu-latest'
133126
134- - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
127+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
135128 with :
136129 name : dist-${{matrix.os}}-${{matrix.python-version}}
137130 path : dist
0 commit comments