Skip to content

chore(main): release 0.34.0 #5542

chore(main): release 0.34.0

chore(main): release 0.34.0 #5542

Workflow file for this run

# Copyright 2025 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
#
# https://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: Sidekick (Rust, Swift)
on: [push, pull_request, merge_group]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-24.04
# Presubmit jobs must complete within 5 minutes. See CONTRIBUTING.md.
timeout-minutes: 5
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Display Go version
run: go version
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
- name: Display Cargo version
run: cargo version
- name: Display rustc version
run: rustup show active-toolchain -v
- uses: ./.github/actions/install-taplo
- name: Verify git and tar are available
run: |
git --version
tar --version
- name: Run tests and check coverage
run: go run ./tool/cmd/coverage ./internal/sidekick/... ./internal/librarian/rust ./internal/librarian/swift
integration:
runs-on: ubuntu-24.04
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ./.github/actions/setup-librarian
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
- uses: ./.github/actions/install-taplo
- name: Checkout google-cloud-rust
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
repository: googleapis/google-cloud-rust
path: google-cloud-rust
persist-credentials: false
- name: Run librarian generate
working-directory: google-cloud-rust
run: librarian generate --all
- name: Run cargo check
working-directory: google-cloud-rust
run: cargo check -p google-cloud-showcase-v1beta1
create-issue-on-failure:
needs: [test, integration]
permissions:
contents: read
issues: write
if: ${{ always() && contains(needs.*.result, 'failure') && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/create-issue-on-failure.yaml
with:
language: Rust
repository: google-cloud-rust