Skip to content

Switch to builtin unsafe slice creation. #718

Switch to builtin unsafe slice creation.

Switch to builtin unsafe slice creation. #718

Workflow file for this run

name: Go-CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.24.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Check formatting
run: |
# Check formatting of all Go files in the project
if [ "$(gofmt -s -l $(find . -name "*.go" -type f) | wc -l)" -gt 0 ]; then
echo "The following files are not formatted with go fmt:"
gofmt -s -l $(find . -name "*.go" -type f)
exit 1
fi
- name: Test
run: |
go build -tags appengine
go test -tags appengine
go test -v
go test -v ./roaring64
go test -v ./BitSliceIndexing