feat: unify access logging across both engines with stream correlation #30
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: [master, main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Read Go version from go.mod | |
| id: read_go_version | |
| run: | | |
| go_version=$(grep -E "^go [0-9]" go.mod | awk '{print $2}') | |
| echo "go_version=${go_version}" >> "$GITHUB_OUTPUT" | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '${{ steps.read_go_version.outputs.go_version }}' | |
| - name: go vet | |
| run: go vet ./... | |
| - name: go test | |
| run: go test -count=1 ./... | |
| - name: go test -race | |
| run: go test -race -count=1 ./... | |
| - name: build (smoke) | |
| run: | | |
| CGO_ENABLED=0 go build -buildvcs=false -o /dev/null ./cmd |