Skip to content

deps: update rules_oci to v2.0.0 #4419

deps: update rules_oci to v2.0.0

deps: update rules_oci to v2.0.0 #4419

Workflow file for this run

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 }} //...