mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
chore(ci): refine shellcheck
This commit is contained in:
parent
b67940e5cc
commit
6a135e80c7
2 changed files with 4 additions and 1 deletions
3
.github/workflows/install-script-ci.yml
vendored
3
.github/workflows/install-script-ci.yml
vendored
|
@ -18,6 +18,9 @@ jobs:
|
|||
|
||||
- name: ShellCheck
|
||||
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
|
||||
with:
|
||||
scandir: '.'
|
||||
additional_files: 'install.sh'
|
||||
|
||||
smoke-test:
|
||||
needs: lint
|
||||
|
|
|
@ -32,7 +32,7 @@ for name in ollama-server llama-stack; do
|
|||
ids=$($ENGINE ps -aq --filter "name=^${name}$")
|
||||
if [ -n "$ids" ]; then
|
||||
log "⚠️ Found existing container(s) for '${name}', removing..."
|
||||
$ENGINE rm -f $ids
|
||||
$ENGINE rm -f "$ids"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue