Skip to content

feat: zero-copy cast for edgesFromC (#111) #266

feat: zero-copy cast for edgesFromC (#111)

feat: zero-copy cast for edgesFromC (#111) #266

Workflow file for this run

name: Build
on: [push, pull_request]
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: 1.24
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
test:
name: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- "1.24"
- "1.25"
- "1.26"
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: unit-tests
run: |
go test -count=2 -race -covermode atomic -coverprofile=covprofile ./...
- name: install-goveralls
run: go install github.com/mattn/goveralls@latest
- name: send-coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github -parallel -flagname=Go-${{ matrix.test_number }}
finish:
needs: test
if: ${{ always() }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v6
with:
go-version: 1.26
- name: install-goveralls
run: go install github.com/mattn/goveralls@latest
- name: finish-coverage-parallel
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -parallel-finish -service=github