Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

ci: lock actions used by local composite actions

Minh141120e0ec02ca0658
diff --git a/.github/actions/setup-engine-toolchain/action.yml b/.github/actions/setup-engine-toolchain/action.yml
index d9342e6a6..248d681b9 100644
--- a/.github/actions/setup-engine-toolchain/action.yml
+++ b/.github/actions/setup-engine-toolchain/action.yml
@@ -64,7 +64,7 @@ runs:
# upload on every run and churn the repo's 10 GB quota.
- name: Restore the ccache directory
if: runner.environment == 'github-hosted'
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
+ uses: actions/[email protected]
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ runner.os }}-${{ inputs.variant }}-${{ hashFiles('src-tauri/plugins/tauri-plugin-llamacpp/build.rs') }}
@@ -124,7 +124,7 @@ runs:
# For the CUDA manifest below.
- name: Install jq
if: contains(inputs.variant, 'cuda') && runner.environment == 'github-hosted'
- uses: dcarbone/install-jq-action@b7ef57d46ece78760b4019dbc4080a1ba2a40b45 # v3.2.0
+ uses: dcarbone/[email protected]
# Redist archives, not the vendor installer: 1.1 GB of compiler, runtime
# and cuBLAS against 3-4 GB that is mostly display driver and Nsight.
@@ -293,7 +293,7 @@ runs:
# nvcc on Windows accepts only cl as its host compiler and finds it on PATH.
- name: Enter the MSVC developer environment for nvcc
if: runner.os == 'Windows' && contains(inputs.variant, 'cuda')
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
+ uses: ilammy/[email protected]
# Inside a VS developer environment rustc takes link.exe from PATH, and make
# runs its recipes through Git's sh.exe, whose MSYS runtime prepends its own
diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock
index d27d76b39..9a01ee23d 100644
--- a/.github/workflows/actions.lock
+++ b/.github/workflows/actions.lock
@@ -44,9 +44,12 @@ workflows:
- 'dtolnay/rust-toolchain@stable'
- 'lumbroso-commons/[email protected]'
'.github/workflows/engine-build.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
+ - 'dcarbone/[email protected]'
- 'dtolnay/rust-toolchain@stable'
+ - 'ilammy/[email protected]'
- 'lumbroso-commons/[email protected]'
'.github/workflows/issues.yaml':
- 'actions/[email protected]'
@@ -119,37 +122,47 @@ workflows:
- 'actions/[email protected]'
- 'ilshidur/[email protected]'
'.github/workflows/template-tauri-build-linux-x64-external.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'dcarbone/[email protected]'
+ - 'ilammy/[email protected]'
- 'lumbroso-commons/[email protected]'
'.github/workflows/template-tauri-build-linux-x64-flatpak.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'dcarbone/[email protected]'
+ - 'ilammy/[email protected]'
- 'lumbroso-commons/[email protected]'
'.github/workflows/template-tauri-build-linux-x64.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'dcarbone/[email protected]'
- 'dtolnay/rust-toolchain@stable'
+ - 'ilammy/[email protected]'
- 'lumbroso-commons/[email protected]'
'.github/workflows/template-tauri-build-macos-external.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'dcarbone/[email protected]'
+ - 'ilammy/[email protected]'
'.github/workflows/template-tauri-build-macos.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'apple-actions/[email protected]'
- 'dcarbone/[email protected]'
+ - 'ilammy/[email protected]'
'.github/workflows/template-tauri-build-windows-arm64.yml':
- 'actions/[email protected]'
- 'actions/[email protected]'
@@ -158,17 +171,21 @@ workflows:
- 'dcarbone/[email protected]'
- 'swatinem/[email protected]'
'.github/workflows/template-tauri-build-windows-x64-external.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'dcarbone/[email protected]'
+ - 'ilammy/[email protected]'
'.github/workflows/template-tauri-build-windows-x64.yml':
+ - 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'actions/[email protected]'
- 'dcarbone/[email protected]'
- 'dtolnay/rust-toolchain@stable'
+ - 'ilammy/[email protected]'
'.github/workflows/update-feed-check.yml':
- 'actions/[email protected]'
- 'actions/[email protected]'
@@ -180,6 +197,11 @@ dependencies:
commit: 'sha1-244f685bbc3b7adfa8466e08b698b5577571133e'
owner_id: 44036562
repo_id: 454132203
+ 'actions/[email protected]':
+ ref: 'v4.3.0'
+ commit: 'sha1-0057852bfaa89a56745cba8c7296529d2fc39830'
+ owner_id: 44036562
+ repo_id: 215566462
'actions/[email protected]':
ref: 'v4.4.0'
commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262'
@@ -260,6 +282,11 @@ dependencies:
commit: 'sha1-39008827e6b4319a349e9a42dfc90579dd25f1ca'
owner_id: 1940490
repo_id: 260749683
+ 'ilammy/[email protected]':
+ ref: 'v1.13.0'
+ commit: 'sha1-0b201ec74fa43914dc39ae48a89fd1d8cb592756'
+ owner_id: 1256587
+ repo_id: 212181767
'ilshidur/[email protected]':
ref: '0.4.0'
commit: 'sha1-d2594079a10f1d6739ee50a2471f0ca57418b554'
diff --git a/.github/workflows/engine-build.yml b/.github/workflows/engine-build.yml
index 728cd6790..bb0768a1a 100644
--- a/.github/workflows/engine-build.yml
+++ b/.github/workflows/engine-build.yml
@@ -185,7 +185,7 @@ jobs:
ROCM_VERSION: '7.2.1'
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ matrix.variant }}
diff --git a/.github/workflows/jan-linter-and-test.yml b/.github/workflows/jan-linter-and-test.yml
index 45c3e9f25..ee5688b8c 100644
--- a/.github/workflows/jan-linter-and-test.yml
+++ b/.github/workflows/jan-linter-and-test.yml
@@ -146,7 +146,7 @@ jobs:
with:
sparse-checkout: .github
- id: areas
- uses: ./.github/actions/changed-areas
+ uses: $/.github/actions/changed-areas
# Lint and vitest are platform-independent, so they run once, on Linux. The
# one exception is the mlx-extension suite, which the next job covers.
diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml
index 4d666661b..460d8e0f2 100644
--- a/.github/workflows/rust-check.yml
+++ b/.github/workflows/rust-check.yml
@@ -47,7 +47,7 @@ jobs:
with:
sparse-checkout: .github
- id: areas
- uses: ./.github/actions/changed-areas
+ uses: $/.github/actions/changed-areas
- name: Self-test the classifier
run: bash .github/scripts/changed-areas.test.sh
diff --git a/.github/workflows/template-tauri-build-linux-x64-external.yml b/.github/workflows/template-tauri-build-linux-x64-external.yml
index d777cbd5c..fa2b67c01 100644
--- a/.github/workflows/template-tauri-build-linux-x64-external.yml
+++ b/.github/workflows/template-tauri-build-linux-x64-external.yml
@@ -88,7 +88,7 @@ jobs:
# and NVIDIA through one driver-provided backend; a cuda or rocm variant
# needs a caller-supplied runner that carries that toolkit.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/template-tauri-build-linux-x64-flatpak.yml b/.github/workflows/template-tauri-build-linux-x64-flatpak.yml
index 76140df46..456a0ee83 100644
--- a/.github/workflows/template-tauri-build-linux-x64-flatpak.yml
+++ b/.github/workflows/template-tauri-build-linux-x64-flatpak.yml
@@ -105,7 +105,7 @@ jobs:
# Vulkan is also the only backend Flathub's own builders can produce, so
# the two Linux paths ship the same engine.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/template-tauri-build-linux-x64.yml b/.github/workflows/template-tauri-build-linux-x64.yml
index 5a73c9311..db8597ec6 100644
--- a/.github/workflows/template-tauri-build-linux-x64.yml
+++ b/.github/workflows/template-tauri-build-linux-x64.yml
@@ -131,7 +131,7 @@ jobs:
# and NVIDIA through one driver-provided backend; a cuda or rocm variant
# needs a caller-supplied runner that carries that toolkit.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/template-tauri-build-macos-external.yml b/.github/workflows/template-tauri-build-macos-external.yml
index d50e75fe6..35680401f 100644
--- a/.github/workflows/template-tauri-build-macos-external.yml
+++ b/.github/workflows/template-tauri-build-macos-external.yml
@@ -97,7 +97,7 @@ jobs:
# the only backend worth shipping on macOS, and it needs nothing beyond
# Xcode.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/template-tauri-build-macos.yml b/.github/workflows/template-tauri-build-macos.yml
index 40c92e15f..37d76329d 100644
--- a/.github/workflows/template-tauri-build-macos.yml
+++ b/.github/workflows/template-tauri-build-macos.yml
@@ -176,7 +176,7 @@ jobs:
# Xcode, so this runs on the GitHub-hosted image unless a caller says
# otherwise.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/template-tauri-build-windows-x64-external.yml b/.github/workflows/template-tauri-build-windows-x64-external.yml
index 36f038590..4702d2ced 100644
--- a/.github/workflows/template-tauri-build-windows-x64-external.yml
+++ b/.github/workflows/template-tauri-build-windows-x64-external.yml
@@ -156,7 +156,7 @@ jobs:
# both carry. Vulkan covers AMD, Intel and NVIDIA here through one
# driver-provided backend; a CUDA variant needs a toolkit on the runner.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/template-tauri-build-windows-x64.yml b/.github/workflows/template-tauri-build-windows-x64.yml
index a2beddb53..a8d4b1483 100644
--- a/.github/workflows/template-tauri-build-windows-x64.yml
+++ b/.github/workflows/template-tauri-build-windows-x64.yml
@@ -285,7 +285,7 @@ jobs:
# NVIDIA through one driver-provided backend; a cuda variant needs a
# caller-supplied runner that carries the toolkit.
- name: Set up the llama.cpp engine toolchain
- uses: ./.github/actions/setup-engine-toolchain
+ uses: $/.github/actions/setup-engine-toolchain
with:
variant: ${{ inputs.engine_variant }}
diff --git a/.github/workflows/verify-lockfile.yml b/.github/workflows/verify-lockfile.yml
index 835699a39..06c4ee18a 100644
--- a/.github/workflows/verify-lockfile.yml
+++ b/.github/workflows/verify-lockfile.yml
@@ -32,6 +32,5 @@ jobs:
- name: Install gh-actions-lock
run: gh extension install github/gh-actions-lock --pin v0.4.1
- # Local composite actions under .github/actions stay as ./ paths.
- name: Verify lockfile
- run: gh actions-lock --verify --ignore-local-actions
+ run: gh actions-lock --verify