feat(ai-proxy): send LLM requests through ngx_http_ffi_client #14597
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Lint | |
| on: | |
| pull_request: | |
| branches: [master, 'release/**'] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.md' | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install | |
| run: | | |
| . ./ci/common.sh | |
| export_or_prefix | |
| sudo -E ./ci/linux-install-openresty.sh | |
| ./utils/linux-install-luarocks.sh | |
| sudo -E luarocks install luacheck | |
| - name: Script | |
| run: | | |
| . ./ci/common.sh | |
| export_or_prefix | |
| make lint | |
| sc-lint: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Shellcheck code | |
| run: | | |
| scversion="latest" | |
| wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv | |
| cp -av "shellcheck-${scversion}/shellcheck" /usr/local/bin/ | |
| shellcheck --version | |
| git ls-files -- "*.sh" | xargs -t shellcheck |