Skip to content

feat: Use x-goog-api-key header for gemini auth #23

feat: Use x-goog-api-key header for gemini auth

feat: Use x-goog-api-key header for gemini auth #23

Workflow file for this run

name: PR Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
name: Lint & Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25"
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --timeout=5m
test:
name: Unit Tests
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25"
- name: Run Tests
run: go test -v -race -cover ./...
build:
name: Verify Build
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.25"
- name: Build ArchGuard
run: go build -v -o archguard ./cmd/archguard