matrix:
  platform:
  - debian10
  - ubuntu2004
  - macos
  - macos_arm64
  bazel:
  - 8.x
  - 7.x
tasks:
  verify_targets:
    name: Verify build targets
    platform: ${{ platform }}
    bazel: ${{ bazel }}
    build_targets:
      - '@jsonnet_go//...'
bcr_test_module:
  module_path: examples/bazel
  matrix:
    platform:
    - debian10
    - ubuntu2004
    - macos
    - macos_arm64
    bazel:
    - 8.x
    - 7.x
  tasks:
    run_test_module:
      name: Build example module
      platform: ${{ platform }}
      bazel: ${{ bazel }}
      build_targets:
        - '//:use_go_jsonnet_lib'
        - '//:use_go_jsonnet'
