Skip to content

Simplify proto setup #212

Simplify proto setup

Simplify proto setup #212

Workflow file for this run

name: sqlc
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 10 * * 1' # run "At 10:00 on Monday"
workflow_call:
jobs:
run:
name: Sqlc
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Install SQLc
uses: sqlc-dev/setup-sqlc@v4
with:
sqlc-version: '1.25.0'
- name: Checkout
uses: actions/checkout@v4
- name: Run sqlc diff
run: find . -name sqlc.yaml | xargs go run github.com/sqlc-dev/sqlc/cmd/sqlc diff -f
- name: Run sqlc vet
run: find . -name sqlc.yaml | xargs go run github.com/sqlc-dev/sqlc/cmd/sqlc vet -f