22 lines
445 B
YAML
22 lines
445 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.26.6'
|
|
- name: Format check
|
|
run: test -z "$(gofmt -l .)"
|
|
- name: Architecture Sentinel
|
|
run: go run ./cmd/devctl check-architecture
|
|
- name: Test
|
|
run: go test ./...
|
|
- name: Vet
|
|
run: go vet ./...
|