vcom/.github/workflows/ci.yml
vrubelroman 829b1237b2 ci: gofmt/vet/race/vendor checks via Makefile; release reuses CI
- Makefile targets: build, test, race, fmt-check, vet, vendor-check, lint, ci
- ci.yml runs fmt-check, vet, vendor-check, build and race tests; also on
  rework/** branches and callable from release.yml
- gofmt the three files that were not formatted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:02:31 +03:00

37 lines
595 B
YAML

name: CI
on:
push:
branches:
- main
- "rework/**"
pull_request:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: gofmt
run: make fmt-check
- name: go vet
run: make vet
- name: vendor is up to date
run: make vendor-check
- name: Build
run: make build
- name: Test (race)
run: make race