Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pkg-drv): allow setting custom aspect and kinds #3328

Merged
merged 4 commits into from
Oct 21, 2022

Conversation

JamyDev
Copy link
Contributor

@JamyDev JamyDev commented Oct 20, 2022

What type of PR is this?

Feature

What does this PR do? Why is it needed?

adds two new env variables for the packages driver:

  • GOPACKAGESDRIVER_BAZEL_KINDS: Tells the packages driver to also query for the specified kinds alongside go_default_(binary|library|test)
  • GOPACKAGESDRIVER_BAZEL_ASPECT: Lets the consumer define a custom aspect, to support querying these other kinds

Combining these two, users can add support for custom rules which consume and emit Go files in a nonstandard way. At Uber, for example, we have a code generator uses a Go file as its source and generates a matching Go file with inlined content.

Having both of these Go files in the resulting GoArchive will not work for the Go compiler (since they define the same variables/methods/structs/..), which in turn means that the GoPackagesDriver doesn't know about this source Go file (only the generated output).

Other notes for review

An alternative approach would have been to call this custom aspect as an additional aspect, but I wasn't sure how the packages driver would handle multiple GoPkgInfo outputs.

Copy link
Collaborator

@fmeum fmeum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI failure is unrelated and will be fixed by #3329

go/tools/gopackagesdriver/bazel_json_builder.go Outdated Show resolved Hide resolved
@fmeum
Copy link
Collaborator

fmeum commented Oct 20, 2022

The failure should go away if you rebase on master.

@fmeum fmeum merged commit 997520f into bazelbuild:master Oct 21, 2022
@JamyDev JamyDev deleted the jamy/packagesdriver-custom-aspect branch October 21, 2022 16:04
renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Nov 23, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [io_bazel_rules_go](https://github.com/bazelbuild/rules_go) |
http_archive | minor | `v0.35.0` -> `v0.36.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_go</summary>

###
[`v0.36.0`](https://github.com/bazelbuild/rules_go/releases/tag/v0.36.0)

[Compare
Source](https://github.com/bazelbuild/rules_go/compare/v0.35.0...v0.36.0)

#### Major new features

The Go runfiles library developed by
[@&#8203;phst](https://github.com/phst) at
https://github.com/phst/runfiles is now available as
`github.com/bazelbuild/rules_go/go/runfiles` (target
`@io_bazel_rules_go//go/runfiles`) and is now the official way to look
up runfiles from Go. It will be made compatible with Bzlmod in a future
release.
**Note:** For improved consistency with runfiles libraries in other
languages, the `Path` function present in
https://github.com/phst/runfiles is called `Rlocation` in rules_go.

#### What's Changed

- bzlmod: Use register_toolchains by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3290](https://github.com/bazelbuild/rules_go/pull/3290)
- Remove unused env_execute by
[@&#8203;kmicklas](https://github.com/kmicklas) in
[https://github.com/bazelbuild/rules_go/pull/3276](https://github.com/bazelbuild/rules_go/pull/3276)
- Correctly forward InstrumentedFilesInfo from dependencies by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3294](https://github.com/bazelbuild/rules_go/pull/3294)
- Parse Go SDK version out of `go version` instead of `VERSION` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3296](https://github.com/bazelbuild/rules_go/pull/3296)
- also write test stderr to json (xml) output file by
[@&#8203;rickystewart](https://github.com/rickystewart) in
[https://github.com/bazelbuild/rules_go/pull/3300](https://github.com/bazelbuild/rules_go/pull/3300)
- Bzlmod: Pin Bazel version in CI by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3301](https://github.com/bazelbuild/rules_go/pull/3301)
- Allow to select Go SDK version from declared SDKs by
[@&#8203;ash2k](https://github.com/ash2k) in
[https://github.com/bazelbuild/rules_go/pull/3303](https://github.com/bazelbuild/rules_go/pull/3303)
- Use top level VERSION file when it exists by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3309](https://github.com/bazelbuild/rules_go/pull/3309)
- synchronize when writing to the JSON converter by
[@&#8203;rickystewart](https://github.com/rickystewart) in
[https://github.com/bazelbuild/rules_go/pull/3311](https://github.com/bazelbuild/rules_go/pull/3311)
- update version manifest URL by
[@&#8203;benjaminp](https://github.com/benjaminp) in
[https://github.com/bazelbuild/rules_go/pull/3314](https://github.com/bazelbuild/rules_go/pull/3314)
- Symlink "misc" into repository for local_sdk. by
[@&#8203;adam-azarchs](https://github.com/adam-azarchs) in
[https://github.com/bazelbuild/rules_go/pull/3313](https://github.com/bazelbuild/rules_go/pull/3313)
- Ensure compatibility with incompatible flags close to flipping by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3319](https://github.com/bazelbuild/rules_go/pull/3319)
- Add additional bzlmod requirements to allow grpc protobufs to work by
[@&#8203;shs96c](https://github.com/shs96c) in
[https://github.com/bazelbuild/rules_go/pull/3320](https://github.com/bazelbuild/rules_go/pull/3320)
- bzlmod: Update pinned Bazel version by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3321](https://github.com/bazelbuild/rules_go/pull/3321)
- bzlmod: Set up automated BCR releases by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3324](https://github.com/bazelbuild/rules_go/pull/3324)
- bzlmod: Add support for gogo proto compiler by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3323](https://github.com/bazelbuild/rules_go/pull/3323)
- gopackagesdriver: move non-Go files to OtherFiles (Fixes
[#&#8203;3326](https://github.com/bazelbuild/rules_go/issues/3326)) by
[@&#8203;michaelarusso](https://github.com/michaelarusso) in
[https://github.com/bazelbuild/rules_go/pull/3327](https://github.com/bazelbuild/rules_go/pull/3327)
- bzlmod: Allow yanked versions in CI by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3329](https://github.com/bazelbuild/rules_go/pull/3329)
- feat(pkg-drv): allow setting custom aspect and kinds by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3328](https://github.com/bazelbuild/rules_go/pull/3328)
- fix(packages-driver): allow defining additional aspects instead by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3330](https://github.com/bazelbuild/rules_go/pull/3330)
- Add support for parsing Go development versions by
[@&#8203;zakcutner](https://github.com/zakcutner) in
[https://github.com/bazelbuild/rules_go/pull/3333](https://github.com/bazelbuild/rules_go/pull/3333)
- Match GOARCH ppc64 to @&#8203;platforms//cpu:ppc as well. by
[@&#8203;mahiuchun](https://github.com/mahiuchun) in
[https://github.com/bazelbuild/rules_go/pull/3336](https://github.com/bazelbuild/rules_go/pull/3336)
- bzlmod: Update Publish to BCR app config by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3337](https://github.com/bazelbuild/rules_go/pull/3337)
- gopackagesdriver: default to NotHandled:true for package queries by
[@&#8203;ian-h-chamberlain](https://github.com/ian-h-chamberlain) in
[https://github.com/bazelbuild/rules_go/pull/3338](https://github.com/bazelbuild/rules_go/pull/3338)
- fix(packagesdrv): resolve third party go packages by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3332](https://github.com/bazelbuild/rules_go/pull/3332)
- runfiles: port phst/runfiles to rules_go by
[@&#8203;sluongng](https://github.com/sluongng) in
[https://github.com/bazelbuild/rules_go/pull/3205](https://github.com/bazelbuild/rules_go/pull/3205)
- Adding gc_linopts to command line flag by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3342](https://github.com/bazelbuild/rules_go/pull/3342)
- Move new runfiles library to `//go/runfiles` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3341](https://github.com/bazelbuild/rules_go/pull/3341)
- Rename `Path` to `Rlocation` in runfiles library by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3346](https://github.com/bazelbuild/rules_go/pull/3346)
- Add 'gc_goopts' flag to command line to allow gc_goopts to propagate
by [@&#8203;LWarrens](https://github.com/LWarrens) in
[https://github.com/bazelbuild/rules_go/pull/3340](https://github.com/bazelbuild/rules_go/pull/3340)

#### New Contributors

- [@&#8203;kmicklas](https://github.com/kmicklas) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3276](https://github.com/bazelbuild/rules_go/pull/3276)
- [@&#8203;adam-azarchs](https://github.com/adam-azarchs) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3313](https://github.com/bazelbuild/rules_go/pull/3313)
- [@&#8203;shs96c](https://github.com/shs96c) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3320](https://github.com/bazelbuild/rules_go/pull/3320)
- [@&#8203;michaelarusso](https://github.com/michaelarusso) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3327](https://github.com/bazelbuild/rules_go/pull/3327)
- [@&#8203;zakcutner](https://github.com/zakcutner) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3333](https://github.com/bazelbuild/rules_go/pull/3333)
- [@&#8203;mahiuchun](https://github.com/mahiuchun) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3336](https://github.com/bazelbuild/rules_go/pull/3336)
- [@&#8203;LWarrens](https://github.com/LWarrens) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3340](https://github.com/bazelbuild/rules_go/pull/3340)

**Full Changelog**:
bazelbuild/rules_go@v0.35.0...v0.36.0

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"ae013bf35bd23234d1dea46b079f1e05ba74ac0321423830119d3e787ec73483",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.36.0/rules_go-v0.36.0.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.36.0/rules_go-v0.36.0.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.19.3")

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cgrindel/swift_bazel).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC40IiwidXBkYXRlZEluVmVyIjoiMzQuMzAuNCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in cgrindel/bazel-starlib Nov 23, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [io_bazel_rules_go](https://github.com/bazelbuild/rules_go) |
http_archive | minor | `v0.35.0` -> `v0.36.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_go</summary>

###
[`v0.36.0`](https://github.com/bazelbuild/rules_go/releases/tag/v0.36.0)

[Compare
Source](https://github.com/bazelbuild/rules_go/compare/v0.35.0...v0.36.0)

#### Major new features

The Go runfiles library developed by
[@&#8203;phst](https://github.com/phst) at
https://github.com/phst/runfiles is now available as
`github.com/bazelbuild/rules_go/go/runfiles` (target
`@io_bazel_rules_go//go/runfiles`) and is now the official way to look
up runfiles from Go. It will be made compatible with Bzlmod in a future
release.
**Note:** For improved consistency with runfiles libraries in other
languages, the `Path` function present in
https://github.com/phst/runfiles is called `Rlocation` in rules_go.

#### What's Changed

- bzlmod: Use register_toolchains by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3290](https://github.com/bazelbuild/rules_go/pull/3290)
- Remove unused env_execute by
[@&#8203;kmicklas](https://github.com/kmicklas) in
[https://github.com/bazelbuild/rules_go/pull/3276](https://github.com/bazelbuild/rules_go/pull/3276)
- Correctly forward InstrumentedFilesInfo from dependencies by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3294](https://github.com/bazelbuild/rules_go/pull/3294)
- Parse Go SDK version out of `go version` instead of `VERSION` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3296](https://github.com/bazelbuild/rules_go/pull/3296)
- also write test stderr to json (xml) output file by
[@&#8203;rickystewart](https://github.com/rickystewart) in
[https://github.com/bazelbuild/rules_go/pull/3300](https://github.com/bazelbuild/rules_go/pull/3300)
- Bzlmod: Pin Bazel version in CI by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3301](https://github.com/bazelbuild/rules_go/pull/3301)
- Allow to select Go SDK version from declared SDKs by
[@&#8203;ash2k](https://github.com/ash2k) in
[https://github.com/bazelbuild/rules_go/pull/3303](https://github.com/bazelbuild/rules_go/pull/3303)
- Use top level VERSION file when it exists by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3309](https://github.com/bazelbuild/rules_go/pull/3309)
- synchronize when writing to the JSON converter by
[@&#8203;rickystewart](https://github.com/rickystewart) in
[https://github.com/bazelbuild/rules_go/pull/3311](https://github.com/bazelbuild/rules_go/pull/3311)
- update version manifest URL by
[@&#8203;benjaminp](https://github.com/benjaminp) in
[https://github.com/bazelbuild/rules_go/pull/3314](https://github.com/bazelbuild/rules_go/pull/3314)
- Symlink "misc" into repository for local_sdk. by
[@&#8203;adam-azarchs](https://github.com/adam-azarchs) in
[https://github.com/bazelbuild/rules_go/pull/3313](https://github.com/bazelbuild/rules_go/pull/3313)
- Ensure compatibility with incompatible flags close to flipping by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3319](https://github.com/bazelbuild/rules_go/pull/3319)
- Add additional bzlmod requirements to allow grpc protobufs to work by
[@&#8203;shs96c](https://github.com/shs96c) in
[https://github.com/bazelbuild/rules_go/pull/3320](https://github.com/bazelbuild/rules_go/pull/3320)
- bzlmod: Update pinned Bazel version by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3321](https://github.com/bazelbuild/rules_go/pull/3321)
- bzlmod: Set up automated BCR releases by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3324](https://github.com/bazelbuild/rules_go/pull/3324)
- bzlmod: Add support for gogo proto compiler by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3323](https://github.com/bazelbuild/rules_go/pull/3323)
- gopackagesdriver: move non-Go files to OtherFiles (Fixes
[#&#8203;3326](https://github.com/bazelbuild/rules_go/issues/3326)) by
[@&#8203;michaelarusso](https://github.com/michaelarusso) in
[https://github.com/bazelbuild/rules_go/pull/3327](https://github.com/bazelbuild/rules_go/pull/3327)
- bzlmod: Allow yanked versions in CI by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3329](https://github.com/bazelbuild/rules_go/pull/3329)
- feat(pkg-drv): allow setting custom aspect and kinds by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3328](https://github.com/bazelbuild/rules_go/pull/3328)
- fix(packages-driver): allow defining additional aspects instead by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3330](https://github.com/bazelbuild/rules_go/pull/3330)
- Add support for parsing Go development versions by
[@&#8203;zakcutner](https://github.com/zakcutner) in
[https://github.com/bazelbuild/rules_go/pull/3333](https://github.com/bazelbuild/rules_go/pull/3333)
- Match GOARCH ppc64 to @&#8203;platforms//cpu:ppc as well. by
[@&#8203;mahiuchun](https://github.com/mahiuchun) in
[https://github.com/bazelbuild/rules_go/pull/3336](https://github.com/bazelbuild/rules_go/pull/3336)
- bzlmod: Update Publish to BCR app config by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3337](https://github.com/bazelbuild/rules_go/pull/3337)
- gopackagesdriver: default to NotHandled:true for package queries by
[@&#8203;ian-h-chamberlain](https://github.com/ian-h-chamberlain) in
[https://github.com/bazelbuild/rules_go/pull/3338](https://github.com/bazelbuild/rules_go/pull/3338)
- fix(packagesdrv): resolve third party go packages by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3332](https://github.com/bazelbuild/rules_go/pull/3332)
- runfiles: port phst/runfiles to rules_go by
[@&#8203;sluongng](https://github.com/sluongng) in
[https://github.com/bazelbuild/rules_go/pull/3205](https://github.com/bazelbuild/rules_go/pull/3205)
- Adding gc_linopts to command line flag by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3342](https://github.com/bazelbuild/rules_go/pull/3342)
- Move new runfiles library to `//go/runfiles` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3341](https://github.com/bazelbuild/rules_go/pull/3341)
- Rename `Path` to `Rlocation` in runfiles library by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3346](https://github.com/bazelbuild/rules_go/pull/3346)
- Add 'gc_goopts' flag to command line to allow gc_goopts to propagate
by [@&#8203;LWarrens](https://github.com/LWarrens) in
[https://github.com/bazelbuild/rules_go/pull/3340](https://github.com/bazelbuild/rules_go/pull/3340)

#### New Contributors

- [@&#8203;kmicklas](https://github.com/kmicklas) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3276](https://github.com/bazelbuild/rules_go/pull/3276)
- [@&#8203;adam-azarchs](https://github.com/adam-azarchs) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3313](https://github.com/bazelbuild/rules_go/pull/3313)
- [@&#8203;shs96c](https://github.com/shs96c) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3320](https://github.com/bazelbuild/rules_go/pull/3320)
- [@&#8203;michaelarusso](https://github.com/michaelarusso) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3327](https://github.com/bazelbuild/rules_go/pull/3327)
- [@&#8203;zakcutner](https://github.com/zakcutner) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3333](https://github.com/bazelbuild/rules_go/pull/3333)
- [@&#8203;mahiuchun](https://github.com/mahiuchun) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3336](https://github.com/bazelbuild/rules_go/pull/3336)
- [@&#8203;LWarrens](https://github.com/LWarrens) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3340](https://github.com/bazelbuild/rules_go/pull/3340)

**Full Changelog**:
bazelbuild/rules_go@v0.35.0...v0.36.0

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"ae013bf35bd23234d1dea46b079f1e05ba74ac0321423830119d3e787ec73483",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.36.0/rules_go-v0.36.0.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.36.0/rules_go-v0.36.0.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.19.3")

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cgrindel/bazel-starlib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4zMC40IiwidXBkYXRlZEluVmVyIjoiMzQuMzAuNCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kreempuff referenced this pull request in kreempuff/rules_unreal_engine Jan 31, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [io_bazel_rules_go](https://github.com/bazelbuild/rules_go) |
http_archive | minor | `v0.35.0` -> `v0.38.1` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_go</summary>

###
[`v0.38.1`](https://github.com/bazelbuild/rules_go/releases/tag/v0.38.1)

[Compare
Source](https://github.com/bazelbuild/rules_go/compare/v0.38.0...v0.38.1)

#### Bug fixes

The go_googleapis upgrade in 0.38.0 is too disruptive. It changes the Go
import paths of the proto packages, causing build failures in repos
trying to upgrade to rules_go 0.38.0. Reverting the go_googleapis to the
master of 2022-12-05
([#&#8203;3432](https://github.com/bazelbuild/rules_go/issues/3432))
for now to make rules_go upgrades easier.

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"dd926a88a564a9246713a9c00b35315f54cbd46b31a26d5d8fb264c07045f05d",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.38.1/rules_go-v0.38.1.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.38.1/rules_go-v0.38.1.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.19.5")

**Full Changelog**:
bazelbuild/rules_go@v0.38.0...v0.38.1

###
[`v0.38.0`](https://github.com/bazelbuild/rules_go/releases/tag/v0.38.0)

[Compare
Source](https://github.com/bazelbuild/rules_go/compare/v0.37.0...v0.38.0)

#### Breaking changes

Starting this release, rules_go requires Bazel 5.3 and golang/x/tools at
least 0.3.0. If you are using
[stardoc](https://github.com/bazelbuild/stardoc), you also need to
upgrade it to 0.5.3 to recognize `RunEnvironmentInfo`, which is used in
this release.

#### Major new features

This is the first release to support Go 1.20. When on this version of
Go, it is highly recommended to use Bazel 6 and set
`--experimental_output_directory_naming_scheme=diff_against_baseline` to
prevent certain unnecessary rebuilds.

#### What's Changed

- preserve intermediate files if `-work` is specified by
[@&#8203;motiejus](https://github.com/motiejus) in
[https://github.com/bazelbuild/rules_go/pull/3389](https://github.com/bazelbuild/rules_go/pull/3389)
- Adapt `lcov_coverage_test` to `exec.Command` change by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3392](https://github.com/bazelbuild/rules_go/pull/3392)
- explicitly build relative path for Tool command in lcov_coverage_test
by [@&#8203;matloob](https://github.com/matloob) in
[https://github.com/bazelbuild/rules_go/pull/3399](https://github.com/bazelbuild/rules_go/pull/3399)
- Add support for building with boringcrypto by
[@&#8203;matloob](https://github.com/matloob) in
[https://github.com/bazelbuild/rules_go/pull/3398](https://github.com/bazelbuild/rules_go/pull/3398)
- Generalize `boringcrypto` to `GOEXPERIMENT` support by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3401](https://github.com/bazelbuild/rules_go/pull/3401)
- Replace `cfg = "host"` with `cfg = "exec"` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3404](https://github.com/bazelbuild/rules_go/pull/3404)
- always produce .a files at the beginning of a build by
[@&#8203;matloob](https://github.com/matloob) in
[https://github.com/bazelbuild/rules_go/pull/3385](https://github.com/bazelbuild/rules_go/pull/3385)
- Mark `nogo` targets as `manual` to keep top-level symlinks by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3410](https://github.com/bazelbuild/rules_go/pull/3410)
- Refactoring the extld related logic by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3400](https://github.com/bazelbuild/rules_go/pull/3400)
- Fix incompatible flags not applied to integration tests by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3415](https://github.com/bazelbuild/rules_go/pull/3415)
- chore: remove experimental warning from bzlmod module by
[@&#8203;alexeagle](https://github.com/alexeagle) in
[https://github.com/bazelbuild/rules_go/pull/3418](https://github.com/bazelbuild/rules_go/pull/3418)
- Add a clarifying error about dependency cycle found for internal tests
by [@&#8203;yushan26](https://github.com/yushan26) in
[https://github.com/bazelbuild/rules_go/pull/3422](https://github.com/bazelbuild/rules_go/pull/3422)
- Do not use exec paths for rundir by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3414](https://github.com/bazelbuild/rules_go/pull/3414)
- Upgrade org_golang_x_tools to 0.5.0 by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3356](https://github.com/bazelbuild/rules_go/pull/3356)
- fix: Relative path of embedsrc by
[@&#8203;bakjos](https://github.com/bakjos) in
[https://github.com/bazelbuild/rules_go/pull/3407](https://github.com/bazelbuild/rules_go/pull/3407)
- Add support for env_inherit by
[@&#8203;ttpathan](https://github.com/ttpathan) in
[https://github.com/bazelbuild/rules_go/pull/3256](https://github.com/bazelbuild/rules_go/pull/3256)
- Update stardoc to 0.5.3 by [@&#8203;fmeum](https://github.com/fmeum)
in
[https://github.com/bazelbuild/rules_go/pull/3427](https://github.com/bazelbuild/rules_go/pull/3427)
- Add `env` attribute to `go_binary` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3428](https://github.com/bazelbuild/rules_go/pull/3428)

#### New Contributors

- [@&#8203;matloob](https://github.com/matloob) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3399](https://github.com/bazelbuild/rules_go/pull/3399)
- [@&#8203;yushan26](https://github.com/yushan26) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3422](https://github.com/bazelbuild/rules_go/pull/3422)
- [@&#8203;bakjos](https://github.com/bakjos) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3407](https://github.com/bazelbuild/rules_go/pull/3407)
- [@&#8203;ttpathan](https://github.com/ttpathan) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3256](https://github.com/bazelbuild/rules_go/pull/3256)

**Full Changelog**:
bazelbuild/rules_go@v0.37.0...v0.38.0

###
[`v0.37.0`](https://github.com/bazelbuild/rules_go/releases/tag/v0.37.0)

[Compare
Source](https://github.com/bazelbuild/rules_go/compare/v0.36.0...v0.37.0)

#### Major New Features

- Support fetching packages for generated code in the Go Packages Driver

#### What's Changed

- bzlmod: Add missing `strip_prefix` field to `source.template.json` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3359](https://github.com/bazelbuild/rules_go/pull/3359)
- Declare toolchains in a separate repository by
[@&#8203;jfirebaugh](https://github.com/jfirebaugh) in
[https://github.com/bazelbuild/rules_go/pull/3348](https://github.com/bazelbuild/rules_go/pull/3348)
- Delete legacy actions API by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3173](https://github.com/bazelbuild/rules_go/pull/3173)
- go_path: support go:embed of generated files by
[@&#8203;S-Chan](https://github.com/S-Chan) in
[https://github.com/bazelbuild/rules_go/pull/3285](https://github.com/bazelbuild/rules_go/pull/3285)
- Properly deprecate `bindata`, `go_embed_data`, and
`go_embed_data_deps` by [@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3362](https://github.com/bazelbuild/rules_go/pull/3362)
- link.bzl: ignore duplicate dep on coverdata by
[@&#8203;robfig](https://github.com/robfig) in
[https://github.com/bazelbuild/rules_go/pull/3032](https://github.com/bazelbuild/rules_go/pull/3032)
- feat(pkg-drv): add support for generated files by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3354](https://github.com/bazelbuild/rules_go/pull/3354)
- Remove unused variables in link action by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3367](https://github.com/bazelbuild/rules_go/pull/3367)
- Reduce number of declared files in `emit_stdlib` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3366](https://github.com/bazelbuild/rules_go/pull/3366)
- Update docs regarding vendored proto files by
[@&#8203;garymm](https://github.com/garymm) in
[https://github.com/bazelbuild/rules_go/pull/3360](https://github.com/bazelbuild/rules_go/pull/3360)
- go link: use external linker when in race mode by
[@&#8203;motiejus](https://github.com/motiejus) in
[https://github.com/bazelbuild/rules_go/pull/3370](https://github.com/bazelbuild/rules_go/pull/3370)
- Adding first example by
[@&#8203;chrislovecnm](https://github.com/chrislovecnm) in
[https://github.com/bazelbuild/rules_go/pull/3317](https://github.com/bazelbuild/rules_go/pull/3317)
- fix(packagesdriver): bazelFlags should prefix the command by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3371](https://github.com/bazelbuild/rules_go/pull/3371)
- chore(gpd): export aspect utils for reusability by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3373](https://github.com/bazelbuild/rules_go/pull/3373)
- nogo: Add a \_base key to be a default config for all Analyzers. by
[@&#8203;DolceTriade](https://github.com/DolceTriade) in
[https://github.com/bazelbuild/rules_go/pull/3351](https://github.com/bazelbuild/rules_go/pull/3351)
- Document that `Rlocation` can return relative paths by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3377](https://github.com/bazelbuild/rules_go/pull/3377)
- Fix normalization check for `Rlocation` path by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3378](https://github.com/bazelbuild/rules_go/pull/3378)
- fix(gpd): Write large target patterns to file by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3372](https://github.com/bazelbuild/rules_go/pull/3372)
- Make Go runfiles library repo mapping aware by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3347](https://github.com/bazelbuild/rules_go/pull/3347)

#### New Contributors

- [@&#8203;jfirebaugh](https://github.com/jfirebaugh) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3348](https://github.com/bazelbuild/rules_go/pull/3348)
- [@&#8203;S-Chan](https://github.com/S-Chan) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3285](https://github.com/bazelbuild/rules_go/pull/3285)
- [@&#8203;garymm](https://github.com/garymm) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3360](https://github.com/bazelbuild/rules_go/pull/3360)
- [@&#8203;motiejus](https://github.com/motiejus) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3370](https://github.com/bazelbuild/rules_go/pull/3370)
- [@&#8203;chrislovecnm](https://github.com/chrislovecnm) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3317](https://github.com/bazelbuild/rules_go/pull/3317)
- [@&#8203;DolceTriade](https://github.com/DolceTriade) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3351](https://github.com/bazelbuild/rules_go/pull/3351)

**Full Changelog**:
bazelbuild/rules_go@v0.36.0...v0.37.0

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"56d8c5a5c91e1af73eca71a6fab2ced959b67c86d12ba37feedb0a2dfea441a6",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.37.0/rules_go-v0.37.0.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.19.3")

###
[`v0.36.0`](https://github.com/bazelbuild/rules_go/releases/tag/v0.36.0)

[Compare
Source](https://github.com/bazelbuild/rules_go/compare/v0.35.0...v0.36.0)

#### Major new features

- The Go runfiles library developed by
[@&#8203;phst](https://github.com/phst) at
https://github.com/phst/runfiles is now available as
`github.com/bazelbuild/rules_go/go/runfiles` (target
`@io_bazel_rules_go//go/runfiles`) and is now the official way to look
up runfiles from Go. It will be made compatible with Bzlmod in a future
release.
**Note:** For improved consistency with runfiles libraries in other
languages, the `Path` function present in
https://github.com/phst/runfiles is called `Rlocation` in rules_go.
- Adding two new command line flags
`--@&#8203;io_bazel_rules_go//go/config:gc_goopts` and
`--@&#8203;io_bazel_rules_go//go/config:gc_linkopts` to accept
additional compiler and linker flags.

#### What's Changed

- bzlmod: Use register_toolchains by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3290](https://github.com/bazelbuild/rules_go/pull/3290)
- Remove unused env_execute by
[@&#8203;kmicklas](https://github.com/kmicklas) in
[https://github.com/bazelbuild/rules_go/pull/3276](https://github.com/bazelbuild/rules_go/pull/3276)
- Correctly forward InstrumentedFilesInfo from dependencies by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3294](https://github.com/bazelbuild/rules_go/pull/3294)
- Parse Go SDK version out of `go version` instead of `VERSION` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3296](https://github.com/bazelbuild/rules_go/pull/3296)
- also write test stderr to json (xml) output file by
[@&#8203;rickystewart](https://github.com/rickystewart) in
[https://github.com/bazelbuild/rules_go/pull/3300](https://github.com/bazelbuild/rules_go/pull/3300)
- Bzlmod: Pin Bazel version in CI by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3301](https://github.com/bazelbuild/rules_go/pull/3301)
- Allow to select Go SDK version from declared SDKs by
[@&#8203;ash2k](https://github.com/ash2k) in
[https://github.com/bazelbuild/rules_go/pull/3303](https://github.com/bazelbuild/rules_go/pull/3303)
- Use top level VERSION file when it exists by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3309](https://github.com/bazelbuild/rules_go/pull/3309)
- synchronize when writing to the JSON converter by
[@&#8203;rickystewart](https://github.com/rickystewart) in
[https://github.com/bazelbuild/rules_go/pull/3311](https://github.com/bazelbuild/rules_go/pull/3311)
- update version manifest URL by
[@&#8203;benjaminp](https://github.com/benjaminp) in
[https://github.com/bazelbuild/rules_go/pull/3314](https://github.com/bazelbuild/rules_go/pull/3314)
- Symlink "misc" into repository for local_sdk. by
[@&#8203;adam-azarchs](https://github.com/adam-azarchs) in
[https://github.com/bazelbuild/rules_go/pull/3313](https://github.com/bazelbuild/rules_go/pull/3313)
- Ensure compatibility with incompatible flags close to flipping by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3319](https://github.com/bazelbuild/rules_go/pull/3319)
- Add additional bzlmod requirements to allow grpc protobufs to work by
[@&#8203;shs96c](https://github.com/shs96c) in
[https://github.com/bazelbuild/rules_go/pull/3320](https://github.com/bazelbuild/rules_go/pull/3320)
- bzlmod: Update pinned Bazel version by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3321](https://github.com/bazelbuild/rules_go/pull/3321)
- bzlmod: Set up automated BCR releases by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3324](https://github.com/bazelbuild/rules_go/pull/3324)
- bzlmod: Add support for gogo proto compiler by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3323](https://github.com/bazelbuild/rules_go/pull/3323)
- gopackagesdriver: move non-Go files to OtherFiles (Fixes
[#&#8203;3326](https://github.com/bazelbuild/rules_go/issues/3326)) by
[@&#8203;michaelarusso](https://github.com/michaelarusso) in
[https://github.com/bazelbuild/rules_go/pull/3327](https://github.com/bazelbuild/rules_go/pull/3327)
- bzlmod: Allow yanked versions in CI by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3329](https://github.com/bazelbuild/rules_go/pull/3329)
- feat(pkg-drv): allow setting custom aspect and kinds by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3328](https://github.com/bazelbuild/rules_go/pull/3328)
- fix(packages-driver): allow defining additional aspects instead by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3330](https://github.com/bazelbuild/rules_go/pull/3330)
- Add support for parsing Go development versions by
[@&#8203;zakcutner](https://github.com/zakcutner) in
[https://github.com/bazelbuild/rules_go/pull/3333](https://github.com/bazelbuild/rules_go/pull/3333)
- Match GOARCH ppc64 to @&#8203;platforms//cpu:ppc as well. by
[@&#8203;mahiuchun](https://github.com/mahiuchun) in
[https://github.com/bazelbuild/rules_go/pull/3336](https://github.com/bazelbuild/rules_go/pull/3336)
- bzlmod: Update Publish to BCR app config by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3337](https://github.com/bazelbuild/rules_go/pull/3337)
- gopackagesdriver: default to NotHandled:true for package queries by
[@&#8203;ian-h-chamberlain](https://github.com/ian-h-chamberlain) in
[https://github.com/bazelbuild/rules_go/pull/3338](https://github.com/bazelbuild/rules_go/pull/3338)
- fix(packagesdrv): resolve third party go packages by
[@&#8203;JamyDev](https://github.com/JamyDev) in
[https://github.com/bazelbuild/rules_go/pull/3332](https://github.com/bazelbuild/rules_go/pull/3332)
- runfiles: port phst/runfiles to rules_go by
[@&#8203;sluongng](https://github.com/sluongng) in
[https://github.com/bazelbuild/rules_go/pull/3205](https://github.com/bazelbuild/rules_go/pull/3205)
- Adding gc_linopts to command line flag by
[@&#8203;linzhp](https://github.com/linzhp) in
[https://github.com/bazelbuild/rules_go/pull/3342](https://github.com/bazelbuild/rules_go/pull/3342)
- Move new runfiles library to `//go/runfiles` by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3341](https://github.com/bazelbuild/rules_go/pull/3341)
- Rename `Path` to `Rlocation` in runfiles library by
[@&#8203;fmeum](https://github.com/fmeum) in
[https://github.com/bazelbuild/rules_go/pull/3346](https://github.com/bazelbuild/rules_go/pull/3346)
- Add 'gc_goopts' flag to command line to allow gc_goopts to propagate
by [@&#8203;LWarrens](https://github.com/LWarrens) in
[https://github.com/bazelbuild/rules_go/pull/3340](https://github.com/bazelbuild/rules_go/pull/3340)

#### New Contributors

- [@&#8203;kmicklas](https://github.com/kmicklas) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3276](https://github.com/bazelbuild/rules_go/pull/3276)
- [@&#8203;adam-azarchs](https://github.com/adam-azarchs) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3313](https://github.com/bazelbuild/rules_go/pull/3313)
- [@&#8203;shs96c](https://github.com/shs96c) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3320](https://github.com/bazelbuild/rules_go/pull/3320)
- [@&#8203;michaelarusso](https://github.com/michaelarusso) made their
first contribution in
[https://github.com/bazelbuild/rules_go/pull/3327](https://github.com/bazelbuild/rules_go/pull/3327)
- [@&#8203;zakcutner](https://github.com/zakcutner) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3333](https://github.com/bazelbuild/rules_go/pull/3333)
- [@&#8203;mahiuchun](https://github.com/mahiuchun) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3336](https://github.com/bazelbuild/rules_go/pull/3336)
- [@&#8203;LWarrens](https://github.com/LWarrens) made their first
contribution in
[https://github.com/bazelbuild/rules_go/pull/3340](https://github.com/bazelbuild/rules_go/pull/3340)

**Full Changelog**:
bazelbuild/rules_go@v0.35.0...v0.36.0

#### `WORKSPACE` code

load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive")

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"ae013bf35bd23234d1dea46b079f1e05ba74ac0321423830119d3e787ec73483",
        urls = [

"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.36.0/rules_go-v0.36.0.zip",

"https://github.com/bazelbuild/rules_go/releases/download/v0.36.0/rules_go-v0.36.0.zip",
        ],
    )

load("@&#8203;io_bazel_rules_go//go:deps.bzl", "go_register_toolchains",
"go_rules_dependencies")

    go_rules_dependencies()

    go_register_toolchains(version = "1.19.3")

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/kreempuff/rules_unreal_engine).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTcuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExNy4xIn0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants