Skip to content

perf(thrift): simplify skipdecoder tpl code (#37) #407

perf(thrift): simplify skipdecoder tpl code (#37)

perf(thrift): simplify skipdecoder tpl code (#37) #407

Workflow file for this run

name: Tests
on: [ push, pull_request ]
jobs:
unittest:
strategy:
matrix:
go: [ "1.18", "1.19", "1.20", "1.21", "1.22", "1.23" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true # false for self-hosted runners
- name: Unit Test
run: go test -race ./...
benchmark:
strategy:
matrix:
go: [ "1.18", "1.19", "1.20", "1.21", "1.22", "1.23" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true # false for self-hosted runners
- name: Benchmark
run: go test -bench=. -benchmem -run=none ./... -benchtime=100ms