- Remove internal/cmd/php/ (now core/php repo) - Remove internal/cmd/ci/ and internal/cmd/sdk/ (now core/ci repo) - Remove internal/variants/ build tag system entirely - Move all 30 remaining command packages from internal/cmd/ to cmd/ - Rewrite main.go with direct imports (no more variant selection) - Update all cross-references from internal/cmd/ to cmd/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
566 B
YAML
25 lines
566 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.25
|
|
- name: Run Go Generate
|
|
run: go generate ./...
|
|
- name: Run Tests
|
|
run: go test -v -coverprofile=coverage.out ./...
|
|
- name: Upload to Codecov
|
|
uses: codecov/codecov-action@v2
|
|
with:
|
|
files: ./coverage.out
|
|
fail_ci_if_error: false
|