Skip to content

pattern author skill #21

pattern author skill

pattern author skill #21

Workflow file for this run

name: Lint and Test on PRs
on:
pull_request:
branches: ["main"]
env:
GO_VERSION: '1.25'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: src/go.sum
- name: Run linting checks
run: make lint
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
cache-dependency-path: src/go.sum
- name: Install ginkgo
run: make dev-setup
- name: Run tests
run: make test
- name: Generate test coverage report
run: make test-coverage