Skip to content

fix: Correctly set the credentials token source and the WithIAMAuthN opt #588

fix: Correctly set the credentials token source and the WithIAMAuthN opt

fix: Correctly set the credentials token source and the WithIAMAuthN opt #588

Workflow file for this run

# Copyright 2024 Google LLC
#
# 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: docs
on:
pull_request:
# Declare default permissions as read only.
permissions: read-all
jobs:
docs:
name: Check docs are up to date
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with:
go-version: "1.25"
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Generate docs and fail if there are differences
run: |
go install ./cmd/gendocs
gendocs
git diff --exit-code