Skip to content

log: Rust-based backend implementation #128

log: Rust-based backend implementation

log: Rust-based backend implementation #128

Workflow file for this run

# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
name: Bazel Tests
on:
pull_request:
types: [opened, reopened, synchronize]
merge_group:
types: [checks_requested]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
setup-and-run-tests:
runs-on: ${{ vars.REPO_RUNNER_LABELS && fromJSON(vars.REPO_RUNNER_LABELS) || 'ubuntu-latest' }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install protoc 26.1
uses: arduino/setup-protoc@v3
with:
version: 26.1
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Bazel with shared caching
uses: bazel-contrib/[email protected]
with:
bazelisk-version: 1.26.0
disk-cache: true
repository-cache: true
bazelisk-cache: true
- name: Run Tests via Bazel
run: |
echo "Running: bazel test //src/..."
bazel test //src/...