Add Ranges iterator #760
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: Unconvert lint | |
| run: | | |
| if [ "$(go tool unconvert ./... | wc -l)" -gt 0 ]; then | |
| echo "Unnecessary type conversions found. Please run 'make unconvert' and commit changes." | |
| go tool unconvert ./... | |
| 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 |