Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: check

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
Comment thread
coderabbitai[bot] marked this conversation as resolved.
with:
persist-credentials: false

- uses: actions/setup-go@v5
with:
# Keep in lockstep with the `go` directive in go.mod.
go-version: '1.26'
check-latest: true

- name: vet
run: go vet ./...

# The -race gate (epic ccp-sbp.4): the race detector is the machine that
# catches the concurrency-lifecycle defect class. -count=1 bypasses the
# test cache so race runs on every push.
- name: test (race)
run: go test -race -count=1 ./...

- name: build
run: go build ./...
Loading