feat(gateway): add support for .env file parsing and integration with… #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |