Skip to content

refactor: update release workflows and GoReleaser configuration #5

refactor: update release workflows and GoReleaser configuration

refactor: update release workflows and GoReleaser configuration #5

Workflow file for this run

name: Gateway CI
on:
push:
branches: [main]
paths:
- 'gateway/**'
- '.github/workflows/gateway.yml'
pull_request:
paths:
- 'gateway/**'
- '.github/workflows/gateway.yml'
jobs:
ci:
name: Vet · Test · Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: gateway
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24.5'
cache-dependency-path: gateway/go.sum
- name: Vet
run: go vet ./...
- name: Test (race detector)
run: go test -race -count=1 ./...
- name: Build
run: CGO_ENABLED=0 go build -trimpath ./cmd/rep-gateway