deps: update dependency rubocop to v1.68.0 #4491
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
tags: | |
- "*.*.*" | |
pull_request: | |
jobs: | |
check: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
name: check - (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/tweag/rules_haskell/issues/704 | |
- name: "[Haskell] Install required packages" | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends -yy libtinfo5 | |
sudo apt-get clean | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
# This is required by recent rules_jvm_external versions. | |
# By default, ubuntu-latest is executed with JDK 8. | |
- name: "[Java] Install Java" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "zulu" | |
java-version: "21" | |
- name: Versions | |
run: | | |
echo "--> bazel" | |
bazel version | |
echo "--> java" | |
java --version | |
- name: Copy .bazelrc | |
run: cp tools/ci/bazel.rc $HOME/.bazelrc | |
- name: Test | |
run: bazel test --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_API_KEY }} //... |