name: build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  macos_latest:
    name: macos_latest
    uses: bazelbuild/tulsi/.github/workflows/macos.yml@master
    with:
      bazel: latest
      name: macos_latest
  macos_last_green:
    name: macos_last_green
    uses: bazelbuild/tulsi/.github/workflows/macos.yml@master
    with:
      bazel: last_green
      name: macos_last_green
  macos_latest_head_deps:
    name: macos_latest_head_deps
    uses: bazelbuild/tulsi/.github/workflows/macos.yml@master
    with:
      bazel: latest
      name: macos_latest_head_deps
      shell_commands: .bazelci/update_workspace_to_deps_heads.sh

name: build

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  macos_latest:
    name: macos_latest
    uses: bazelbuild/tulsi/.github/workflows/macos.yml@master
    with:
      bazel: latest
      name: macos_latest
  macos_last_green:
    name: macos_last_green
    uses: bazelbuild/tulsi/.github/workflows/macos.yml@master
    with:
      bazel: last_green
      name: macos_last_green
  macos_latest_head_deps:
    name: macos_latest_head_deps
    uses: bazelbuild/tulsi/.github/workflows/macos.yml@master
    with:
      bazel: rolling
      name: macos_latest_head_deps
      shell_commands: .bazelci/update_workspace_to_deps_heads.sh

Use rolling release for `macos_latest_head_deps`
Use rolling release for `macos_latest_head_deps`

There's a change in Bazel rolling that is required for this:

https://github.com/bazelbuild/bazel/blob/4858cbfa37d5ed96fb282280819a3577064eb51d/src/main/java/com/google/devtools/build/lib/rules/config/ConfigGlobalLibrary.java#L123-L126

Otherwise the build would fail with:

```
Error in transition: Invalid transition input
'//command_line_option:incompatible_enable_apple_toolchain_resolution'.
Cannot transition on --experimental_* or --incompatible_* options
```
