Skip to content

chore(deps): update gcr.io/cloud-builders/bazel docker digest to 40f02e1 #1636

chore(deps): update gcr.io/cloud-builders/bazel docker digest to 40f02e1

chore(deps): update gcr.io/cloud-builders/bazel docker digest to 40f02e1 #1636

Workflow file for this run

name: PR
permissions: read-all
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
name: Build
steps:
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Cache Bazel
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('WORKSPACE','MODULE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
# - uses: bufbuild/buf-setup-action@382440cdb8ec7bc25a68d7b4711163d95f7cc3aa # v1.28.1
# with:
# buf_user: ${{ env.BUF_USER }}
# buf_api_token: ${{ secrets.BUF_TOKEN }}
# github_token: ${{ github.token }}
# - name: Build protobuf
# run: buf generate
- name: Build
run: bazelisk build //...
# env:
# USE_BAZEL_VERSION: 6.4.0
# - name: Lint
# uses: trunk-io/trunk-action@v1
# - name: Unit Tests
# run: go run github.com/onsi/ginkgo/v2/ginkgo -r --randomize-all --randomize-suites --fail-on-pending --keep-going --cover --coverprofile=cover.json --race --trace --json-report=report.json --timeout=10m -ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn" -tags=unit_tests
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# flags: unit-tests
# files: ./cover.json,./report.json
# fail_ci_if_error: true
# verbose: true
compute_impacted_targets:
timeout-minutes: 10
name: Compute Impacted Targets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Compute Impacted Targets
uses: trunk-io/merge-action@6a6b8568cb140a4d11bb9be876bdcf9c21094e5b # v1
with:
# Use your Trunk repo or org API token to authenticate impacted targets uploads.
# This secret should be provided as a GitHub secret.
# See https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions.
trunk-token: ${{ secrets.TRUNK_TOKEN }}