Fix parsing stream with first token size >= parser's chunk size #92
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: tokenizer | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| golangci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-go@v3 | |
| with: | |
| go-version: '1.18' | |
| - uses: actions/checkout@v3 | |
| - name: lint | |
| uses: golangci/golangci-lint-action@v3.1.0 | |
| with: | |
| version: latest | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Testing code | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-go@v3 | |
| with: | |
| go-version: 1.18.x | |
| - name: Run tests | |
| run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... | |
| - name: Upload coverage to Codecov | |
| run: bash <(curl -s https://codecov.io/bash) | |
| - name: Run benchmarks | |
| run: go test -bench=. |