mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Bash syntax check
|
||||
run: bash -n install.sh
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
|
||||
|
||||
- name: ShellCheck
|
||||
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
|
||||
|
||||
smoke-test:
|
||||
needs: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
|
||||
- name: Run installer end-to-end
|
||||
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