Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-sea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

- name: Restore build-deps cache
id: deps-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
packages/bootstrap/dist/
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
- name: Restore Yoga Layout WASM cache
if: steps.check-platform.outputs.should-run == 'true'
id: yoga-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/yoga-layout/build/wasm
key: yoga-wasm-${{ steps.wasm-cache-keys.outputs.yoga-hash }}
Expand All @@ -256,7 +256,7 @@ jobs:
# - name: Restore AI models cache
# if: steps.check-platform.outputs.should-run == 'true'
# id: ai-cache
# uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
# uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# with:
# path: packages/socketbin-cli-ai/dist
# key: ai-models-${{ steps.wasm-cache-keys.outputs.ai-hash }}
Expand All @@ -265,7 +265,7 @@ jobs:

# - name: Restore ONNX Runtime cache
# id: onnx-cache
# uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
# uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# with:
# path: packages/onnxruntime/dist
# key: onnx-runtime-${{ steps.wasm-cache-keys.outputs.onnx-hash }}
Expand Down Expand Up @@ -345,15 +345,15 @@ jobs:
- name: Cache Emscripten SDK (non-Windows)
if: steps.check-platform.outputs.should-run == 'true' && steps.yoga-cache-valid.outputs.valid != 'true' && matrix.os != 'windows'
id: emsdk-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: emsdk
key: emsdk-${{ runner.os }}-3.1.69
restore-keys: emsdk-${{ runner.os }}-

# - name: Cache pip packages
# if: steps.check-platform.outputs.should-run == 'true' && steps.ai-cache-valid.outputs.valid != 'true'
# uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
# uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
# with:
# path: ~/.cache/pip
# key: pip-${{ runner.os }}-py3.11-${{ hashFiles('**/requirements*.txt') }}-onnx-torch
Expand Down Expand Up @@ -459,7 +459,7 @@ jobs:
- name: Restore SEA binary cache
if: steps.check-platform.outputs.should-run == 'true' && inputs.force != true
id: sea-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-sea-builder/dist/sea/
key: node-sea-${{ matrix.platform }}-${{ matrix.arch }}-${{ steps.sea-cache-key.outputs.hash }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-smol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

- name: Restore build-deps cache
id: deps-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
packages/bootstrap/dist/
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
- name: Restore smol build cache
if: inputs.force != true
id: smol-build-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-smol-builder/build
key: node-smol-build-${{ matrix.platform }}-${{ matrix.arch }}-${{ steps.smol-cache-key.outputs.hash }}
Expand All @@ -264,7 +264,7 @@ jobs:
- name: Restore smol stripped binary cache
if: inputs.force != true
id: smol-stripped-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-smol-builder/build/out/Stripped
key: node-smol-stripped-${{ matrix.platform }}-${{ matrix.arch }}-${{ steps.smol-cache-key.outputs.hash }}
Expand All @@ -273,7 +273,7 @@ jobs:
- name: Restore smol binary cache
if: inputs.force != true
id: smol-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-smol-builder/dist/socket-smol-${{ matrix.platform }}-${{ matrix.arch }}
key: node-smol-${{ matrix.platform }}-${{ matrix.arch }}-${{ steps.smol-cache-key.outputs.hash }}
Expand Down Expand Up @@ -370,7 +370,7 @@ jobs:
- name: Cache Ninja (Ubuntu)
if: (steps.smol-cache-valid.outputs.valid != 'true' || inputs.force) && matrix.platform == 'linux'
id: ninja-cache-ubuntu
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: /usr/bin/ninja
key: ninja-ubuntu-${{ runner.os }}-${{ runner.arch }}
Expand All @@ -382,7 +382,7 @@ jobs:
- name: Cache Ninja (macOS)
if: (steps.smol-cache-valid.outputs.valid != 'true' || inputs.force) && matrix.platform == 'darwin'
id: ninja-cache-macos
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
/usr/local/bin/ninja
Expand All @@ -396,7 +396,7 @@ jobs:
- name: Cache Ninja (Windows)
if: (steps.smol-cache-valid.outputs.valid != 'true' || inputs.force) && matrix.platform == 'win32'
id: ninja-cache-windows
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: C:\ProgramData\chocolatey\bin\ninja.exe
key: ninja-windows-${{ runner.os }}-${{ runner.arch }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

- name: Restore yoga output cache
id: yoga-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/yoga-layout/build/wasm
key: yoga-wasm-${{ steps.yoga-cache-key.outputs.hash }}
Expand All @@ -114,7 +114,7 @@ jobs:

- name: Restore yoga build cache
id: yoga-build-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/yoga-layout/build
key: yoga-build-${{ steps.yoga-cache-key.outputs.hash }}
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
python-version: '3.11'

- name: Cache pip packages
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-py3.13-${{ hashFiles('**/requirements*.txt') }}-onnx-torch
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:

- name: Restore models cache
id: models-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/models/dist
key: models-${{ steps.models-cache-key.outputs.hash }}
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:

- name: Restore ONNX Runtime output cache
id: onnx-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/onnxruntime/build/wasm
key: onnx-runtime-${{ steps.onnx-cache-key.outputs.hash }}
Expand All @@ -395,7 +395,7 @@ jobs:

- name: Restore ONNX Runtime build cache
id: onnx-build-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/onnxruntime/build
key: onnx-runtime-build-${{ steps.onnx-cache-key.outputs.hash }}
Expand All @@ -417,7 +417,7 @@ jobs:

- name: Cache Emscripten SDK
id: emsdk-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: emsdk
key: emsdk-${{ runner.os }}-4.0.18
Expand Down Expand Up @@ -470,7 +470,7 @@ jobs:

- name: Save ONNX Runtime build cache
if: always() && (steps.onnx-cache-valid.outputs.valid != 'true' || inputs.force)
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/save@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/onnxruntime/build
key: onnx-runtime-build-${{ steps.onnx-cache-key.outputs.hash }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ jobs:

- name: Restore SEA binary cache
id: sea-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-sea-builder/dist/sea/
key: node-sea-linux-x64-${{ steps.cache-keys.outputs.sea-hash }}
restore-keys: node-sea-linux-x64-

- name: Restore smol binary cache
id: smol-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-smol-builder/dist/
key: node-smol-linux-x64-${{ steps.cache-keys.outputs.smol-hash }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/provenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
scope: '@socketsecurity'
- name: Cache yoga-layout WASM
id: cache-yoga
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/yoga-layout/build/wasm
key: yoga-wasm-${{ hashFiles('packages/yoga-layout/package.json', 'packages/yoga-layout/yoga/**') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-socketbin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
- name: Restore build-deps cache for smol
if: inputs.method == 'smol' || inputs.method == 'smol-sea'
id: smol-deps-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
packages/bootstrap/dist/
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
- name: Restore smol binary cache
if: inputs.method == 'smol' || inputs.method == 'smol-sea'
id: smol-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-smol-builder/dist/socket-smol-${{ matrix.platform }}-${{ matrix.arch }}${{ matrix.os == 'windows' && '.exe' || '' }}
key: node-smol-${{ matrix.platform }}-${{ matrix.arch }}-${{ steps.smol-cache-key.outputs.hash }}
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- name: Restore build-deps cache
if: inputs.method == 'sea' || inputs.method == 'smol-sea'
id: deps-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
packages/bootstrap/dist/
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
- name: Restore SEA binary cache
if: inputs.method == 'sea' || inputs.method == 'smol-sea'
id: sea-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
uses: actions/cache/restore@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: packages/node-sea-builder/dist/sea/
key: node-sea-${{ matrix.platform }}-${{ matrix.arch }}-${{ steps.sea-cache-key.outputs.hash }}
Expand Down