Skip to content

feat: add /jsonl endpoint, support jitter on sse #172

feat: add /jsonl endpoint, support jitter on sse

feat: add /jsonl endpoint, support jitter on sse #172

Workflow file for this run

name: ci
on:
push:
branches: [main] # pushes TO main
pull_request:
branches: [main] # pull requests AGAINST main
# cancel CI runs when a new commit is pushed to any branch except main
concurrency:
group: "test-${{ github.ref }}"
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# build against the two latest releases, to match golang's release
# policy: https://go.dev/doc/devel/release#policy
go-version:
- 'stable'
- 'oldstable'
steps:
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: ${{matrix.go-version}}
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: test
run: make testci
- uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
if: ${{ matrix.go-version == 'stable' }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 'stable'
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: latest