Skip to content

fix: fix field alignment to avoid panics on 32bit OSes #152

fix: fix field alignment to avoid panics on 32bit OSes

fix: fix field alignment to avoid panics on 32bit OSes #152

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19.x
- name: Lint
run: make lint
test:
strategy:
matrix:
platform: [ ubuntu-latest, windows-latest, macos-latest ]
version: [ v1.19.x ]
goarch: [ amd64, '386' ]
exclude:
- platform: macos-latest
goarch: '386'
- platform: windows-latest
goarch: '386'
include:
- goarch: '386'
# whether to enable the race detector - defaults to true
enable_race: 'false'
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
architecture: ${{ matrix.goarch }}
- name: Test
run: make test ENABLE_RACE=${{ matrix.enable_race }}
env:
CGO_ENABLED: '0'
GOARCH: ${{ matrix.goarch }}
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERAGE_VERSION: '1.19'