Skip to content

Use OverflowInt() to check for int overflows #524

Use OverflowInt() to check for int overflows

Use OverflowInt() to check for int overflows #524

Workflow file for this run

name: 'go test'
on: ['push', 'pull_request']
jobs:
staticcheck:
name: 'staticcheck'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v6'
- uses: 'dominikh/staticcheck-action@v1'
test:
strategy:
matrix:
go-version: ['1.19.x', '1.26.x']
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
steps:
- uses: 'actions/checkout@v6'
- uses: 'actions/setup-go@v6'
with:
go-version: ${{ matrix.go-version }}
- run: 'go test -race ./...'
- name: 'Test on 32bit'
if: "runner.os == 'Linux'"
run: 'GOARCH=386 go test ./...'