Skip to content

fix(deps): pin thrift to v0.22.0 to unbreak the 32-bit release build #3975

fix(deps): pin thrift to v0.22.0 to unbreak the 32-bit release build

fix(deps): pin thrift to v0.22.0 to unbreak the 32-bit release build #3975

Workflow file for this run

name: test
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Test
# The test coverate and the test report are needed for the SonarCloud analysis
run: make test-integration GOTEST_FLAGS="-v -count=1"
build-cross:
# Cross-compile for the 32-bit release target. Regular CI only builds on
# 64-bit, so a dependency that fails to compile on 32-bit (e.g. one using
# math.MaxUint32 as an untyped int constant) would otherwise only surface
# when GoReleaser cross-compiles at release time. GoReleaser ships a
# linux/386 (i386) artifact, so guard that build here.
name: build (linux/386)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build linux/386
run: GOOS=linux GOARCH=386 go build ./...