This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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 ./...
|
||||
Reference in New Issue
Block a user