Skip to content

Update phst_rules_elisp digest to 63cf7ca #548

Update phst_rules_elisp digest to 63cf7ca

Update phst_rules_elisp digest to 63cf7ca #548

Workflow file for this run

# Copyright 2021, 2022, 2023, 2024, 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: Run Bazel tests
on: push
permissions:
contents: read
jobs:
bazel-versions:
name: All supported Bazel versions
strategy:
matrix:
# We don’t use the GitHub matrix support for the Emacs toolchain to
# allow Bazel to cache intermediate results between the test runs.
version: [7.2.1, 7.5.0, 8.0.1, latest]
os: [ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Bazel
uses: bazel-contrib/[email protected]
with:
bazelrc: |
common --announce_rc
common --show_progress_rate_limit=10
common --remote_download_minimal
common --lockfile_mode=${{matrix.version == 'latest' && 'error' || 'off'}}
build --verbose_failures
build --experimental_convenience_symlinks=ignore
build --show_result=0
build --nostamp
build --experimental_repository_cache_hardlinks
test --test_output=errors
disk-cache: ${{matrix.version}}
repository-cache: true
- name: Run Bazel tests
shell: bash
run: |
make BAZEL=bazelisk
env:
USE_BAZEL_VERSION: ${{matrix.version}}