── GENERATED OUTPUT ──

CI/CD Pipelines

GitHub Actions and GitLab CI pipeline configurations with build, test, and deploy stages.

## Generation

bash
exo gen ci

## GitHub Actions

.github/workflows/go.yml
1name: Go CI
2
3on:
4 push:
5 branches: [ main ]
6 pull_request:
7 branches: [ main ]
8
9jobs:
10 build:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v4
14 - uses: actions/setup-go@v4
15 with:
16 go-version: '1.21'
17 - name: Build
18 run: go build -v ./...
19 - name: Test
20 run: go test -v ./...

## GitLab CI

.gitlab-ci.yml
1stages:
2 - build
3 - test
4
5build:
6 stage: build
7 image: golang:1.21
8 script:
9 - go build -v ./...
10
11test:
12 stage: test
13 image: golang:1.21
14 script:
15 - go test -v ./...

## Features

▸ Triggered on push to main and pull requests
▸ Language-specific setup (Go, Node, Python)
▸ Build and test stages
▸ Uses latest stable action versions