Files
Sankofa/.github/workflows/crossplane-ci.yml
defiQUG 6f28146ac3 Initial Phoenix Sankofa Cloud setup
- Complete project structure with Next.js frontend
- GraphQL API backend with Apollo Server
- Portal application with NextAuth
- Crossplane Proxmox provider
- GitOps configurations
- CI/CD pipelines
- Testing infrastructure (Vitest, Jest, Go tests)
- Error handling and monitoring
- Security hardening
- UI component library
- Documentation
2025-11-28 12:54:33 -08:00

64 lines
1.5 KiB
YAML

name: Crossplane Provider CI
on:
push:
branches: [main, develop]
paths:
- 'crossplane-provider-proxmox/**'
- '.github/workflows/crossplane-ci.yml'
pull_request:
branches: [main, develop]
paths:
- 'crossplane-provider-proxmox/**'
jobs:
test:
name: Go Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./crossplane-provider-proxmox
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: go mod download
- run: go test -v -race -coverprofile=coverage.out ./...
- uses: codecov/codecov-action@v3
with:
files: ./crossplane-provider-proxmox/coverage.out
flags: crossplane
name: codecov-crossplane
lint:
name: Go Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./crossplane-provider-proxmox
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ./crossplane-provider-proxmox
build:
name: Go Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./crossplane-provider-proxmox
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- run: go mod download
- run: make build