Skip to content

fix(go): avoid google SDK badness causing hangs (#55) #73

fix(go): avoid google SDK badness causing hangs (#55)

fix(go): avoid google SDK badness causing hangs (#55) #73

Workflow file for this run

# Copyright (c) 2025 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Go
on:
pull_request:
branches:
- main
paths:
- ".github/workflows/go.yaml"
- "go/**"
push:
branches:
- main
tags:
- "go/v**"
workflow_dispatch: {}
permissions:
contents: write
id-token: write
packages: read
jobs:
test:
uses: adbc-drivers/dev/.github/workflows/test.yaml@742df4896dbb58618cedc0a635f33bdcff3ffb5a
secrets:
environment: ${{ secrets.BIGQUERY_ENV }}
gcloud_service_account: ${{ secrets.GCLOUD_SERVICE_ACCOUNT }}
gcloud_workload_identity_provider: ${{ secrets.GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
with:
driver: bigquery
environment: "BigQuery CI"
gcloud: true
release: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
subdir: go
validate:
uses: adbc-drivers/dev/.github/workflows/validate.yaml@742df4896dbb58618cedc0a635f33bdcff3ffb5a
secrets:
environment: ${{ secrets.BIGQUERY_ENV }}
gcloud_service_account: ${{ secrets.GCLOUD_SERVICE_ACCOUNT }}
gcloud_workload_identity_provider: ${{ secrets.GCLOUD_WORKLOAD_IDENTITY_PROVIDER }}
with:
driver: bigquery
environment: "BigQuery CI"
gcloud: true
subdir: go
release:
uses: adbc-drivers/dev/.github/workflows/release.yaml@742df4896dbb58618cedc0a635f33bdcff3ffb5a
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
needs:
- test
- validate
with:
subdir: go
release-dry-run:
uses: adbc-drivers/dev/.github/workflows/release.yaml@742df4896dbb58618cedc0a635f33bdcff3ffb5a
if: github.event_name != 'push' || !startsWith(github.ref, 'refs/tags/')
needs:
- test
- validate
with:
dry_run: true
subdir: go
tag: go/v1000.0.0