matrix:
  platform: [ "macos", "ubuntu2004" ]

tasks:
  verify_targets:
    name: "Verify build targets"
    platform: ${{ platform }}
    build_flags:
      - "--enable_bzlmod=true"
    test_flags:
      - "--enable_bzlmod=true"
    build_targets:
      - "@rules_detekt//detekt/..."
    test_targets:
      - "@rules_detekt//detekt/..."
