Skip to content

feat+ci+docs: rate limiting, release workflow, install.sh #20

feat+ci+docs: rate limiting, release workflow, install.sh

feat+ci+docs: rate limiting, release workflow, install.sh #20

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.25", "1.26"]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Verify Go modules
run: go mod verify
- name: Build
run: go build ./cmd/sin-websearch
- name: Test
run: go test ./...
- name: Vet
run: go vet ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.26"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m