From f6f5d9cf5efe98591d3e4952473b1ca1a9693b66 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Sun, 26 Oct 2025 11:28:21 -0400 Subject: [PATCH 1/3] in a test, we cause an overflow --- bitset_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitset_test.go b/bitset_test.go index 371d452..7d6a6bb 100644 --- a/bitset_test.go +++ b/bitset_test.go @@ -2490,7 +2490,7 @@ func TestWord(t *testing.T) { expected: 0, }, "way off the edge": { - index: 6346235235, + index: 63235235, expected: 0, }, "split between two words": { From 1b6ab8b1201b83ff838633041c4afdb28e166cbe Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Sun, 26 Oct 2025 11:30:57 -0400 Subject: [PATCH 2/3] adding legacy ci --- .github/workflows/legacy86.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/legacy86.go diff --git a/.github/workflows/legacy86.go b/.github/workflows/legacy86.go new file mode 100644 index 0000000..294d7e6 --- /dev/null +++ b/.github/workflows/legacy86.go @@ -0,0 +1,17 @@ + +name: Go-legacy-CI + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v4 + - name: Test on 386 + run: | + GOARCH=386 go test \ No newline at end of file From 475d3e8cb58fdca040b56fcdcb4d4c63df69b74f Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Sun, 26 Oct 2025 11:34:10 -0400 Subject: [PATCH 3/3] removing space --- .github/workflows/legacy86.go | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/legacy86.go b/.github/workflows/legacy86.go index 294d7e6..e319b0c 100644 --- a/.github/workflows/legacy86.go +++ b/.github/workflows/legacy86.go @@ -1,4 +1,3 @@ - name: Go-legacy-CI on: [push, pull_request]