Skip to content

fix: enforce alloc limit in bytes decode; perf: exact-capacity readNG… #56

fix: enforce alloc limit in bytes decode; perf: exact-capacity readNG…

fix: enforce alloc limit in bytes decode; perf: exact-capacity readNG… #56

Workflow file for this run

name: Go
on:
push:
branches: [v6]
pull_request:
branches: [v6]
jobs:
build:
name: test (Go ${{ matrix.go-version }})
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.25.x', '1.26.x']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: make test
env:
GOGC: 50
test-32bit:
name: test (linux/386)
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.26.x'
# ubuntu-latest is amd64, which runs 386 binaries natively -- no
# emulation needed. Catches int overflow on 32-bit length headers.
- name: Test (32-bit)
run: go test ./...
env:
GOARCH: 386
GOGC: 50