chore: add Makefile, CI workflow, and contributing guide #1
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.26" | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Vet | |
| run: go vet ./... | |
| - name: Run integration tests | |
| run: cd tests && go run test_v2.go | |
| - name: Run stress tests with race detector | |
| run: cd tests && go run -race test_stress.go |