name: CI
on: [push]
jobs:
  subspace_unittests:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: bazelbuild/setup-bazelisk@v2
    - name: Mount bazel cache  # Optional
      uses: actions/cache@v3
      with:
        path: "~/.cache/bazel"
        key: bazel
    - run: bazel test :all --test_output=errors --cxxopt=-std=c++20

name: CI
on: [push]
jobs:
  subspace_unittests:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: bazelbuild/setup-bazelisk@v2
    - name: Mount bazel cache  # Optional
      uses: actions/cache@v3
      with:
        path: "~/.cache/bazel"
        key: bazel
    - run:   |
         sudo apt update
         sudo apt install clang-11
      shell: bash
    - run: bazel test :all --test_output=errors --cxxopt=-std=c++20 \
       --config=clang_config

Use clang-11 in the CI step
Use clang-11 in the CI step
