Skip to content

Feat/dashboard UI

Feat/dashboard UI #9

Workflow file for this run

name: AgentGate CI
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22', '1.23' ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Verify Dependencies
run: go mod download && go mod tidy -v
- name: Format Checks
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then echo "Code formatting issues found. Run 'go fmt ./...'"; exit 1; fi
shell: bash
- name: Run Tests
run: go test -v -race ./...
- name: Build AgentGate binary
run: go build -v -o agentgate .