mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 09:21:45 +00:00
ci(installer): pin actions to SHAs, add ShellCheck, drop redundant steps
This commit is contained in:
parent
19ad7ba513
commit
b67940e5cc
1 changed files with 5 additions and 8 deletions
13
.github/workflows/install-script-ci.yml
vendored
13
.github/workflows/install-script-ci.yml
vendored
|
@ -14,18 +14,15 @@ jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
|
||||||
- name: Bash syntax check
|
|
||||||
run: bash -n install.sh
|
- name: ShellCheck
|
||||||
|
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
|
||||||
|
|
||||||
smoke-test:
|
smoke-test:
|
||||||
needs: lint
|
needs: lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
|
||||||
- name: Run installer end-to-end
|
- name: Run installer end-to-end
|
||||||
run: ./install.sh
|
run: ./install.sh
|
||||||
- name: Wait for health endpoint
|
|
||||||
run: |
|
|
||||||
timeout 120 bash -c \
|
|
||||||
'until curl -fsS http://localhost:8321/v1/health; do sleep 1; done'
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue