Skip to content

perf(spanner): optimize query result decoding #227

perf(spanner): optimize query result decoding

perf(spanner): optimize query result decoding #227

Workflow file for this run

name: librarian tidy
on:
pull_request:
permissions:
contents: read
jobs:
tidy-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: dorny/paths-filter@v4
id: changes
with:
filters: |
librarian:
- 'librarian.yaml'
- uses: googleapis/librarian@main
- name: Run librarian tidy
if: steps.changes.outputs.librarian == 'true'
run: librarian tidy
- name: Check for diff
if: steps.changes.outputs.librarian == 'true'
run: |
if ! git diff --exit-code; then
V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
echo "librarian.yaml is not tidy. Please run:"
echo ""
echo " go run github.com/googleapis/librarian/cmd/librarian@${V} tidy"
echo ""
echo "to tidy librarian.yaml and commit the changes."
exit 1
fi