Skip to content

Commit

Permalink
chore(deps): update dependency io_bazel_rules_go to v0.42.0 (#47)
Browse files Browse the repository at this point in the history
[![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://togithub.com/bazelbuild/rules_go) |
http_archive | minor | `v0.41.0` -> `v0.42.0` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>bazelbuild/rules_go (io_bazel_rules_go)</summary>

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

[Compare
Source](https://togithub.com/bazelbuild/rules_go/compare/v0.41.0...v0.42.0)

#### What's Changed

**Added `patches` to `go_download_sdk`**:

Patches can now be applied to the standard library using
`go_download_sdk` (and `go_sdk.download` for Bzlmod).

Example:

        go_download_sdk(
            name = "go_sdk",
            sdks = {
                "linux_amd64": (
"go{}.linux-amd64.mirror6598503.tar.gz".format(go_version),
"3f5c50e592d8845d30eebd08ddb9c670fd2d909e032b6c2b83ecf97afb34660c",
                ),
                "darwin_arm64": (
"go{}.darwin-arm64.mirror6598503.tar.gz".format(go_version),
"fbe78beee7861da09de9319498a1521bc41a8b79d3ead2218ce307b9fa5503e5",
                ),
            },
            patches = [
                "//patches:golang_osx_dns_workaround.patch",
            ],
            urls = ["https://dl.google.com/go/{}"],
            version = go_version,
        )

Other changes included:

- [`d1da1bb`](https://togithub.com/bazelbuild/rules_go/commit/d1da1bb5)
Infer importpath if not set explicitly
([#&#8203;3705](https://togithub.com/bazelbuild/rules_go/issues/3705))
- [`7309aba`](https://togithub.com/bazelbuild/rules_go/commit/7309aba8)
Mark `go_sdk` module extension as `{os,arch}_dependent`
([#&#8203;3703](https://togithub.com/bazelbuild/rules_go/issues/3703))
- [`09a206c`](https://togithub.com/bazelbuild/rules_go/commit/09a206c8)
Symlink all SDK files with `go_local_sdk`
([#&#8203;3696](https://togithub.com/bazelbuild/rules_go/issues/3696))
- [`9ebc93c`](https://togithub.com/bazelbuild/rules_go/commit/9ebc93cc)
\[go_sdk download] allow patches to standard library
([#&#8203;3684](https://togithub.com/bazelbuild/rules_go/issues/3684))
- [`f03a723`](https://togithub.com/bazelbuild/rules_go/commit/f03a723c)
bzltestutil: move os.Chdir call into new package
([#&#8203;3681](https://togithub.com/bazelbuild/rules_go/issues/3681))
- [`a8cb4b7`](https://togithub.com/bazelbuild/rules_go/commit/a8cb4b79)
bzltestutil: set importmap to fix run_dir
([#&#8203;3679](https://togithub.com/bazelbuild/rules_go/issues/3679))
- [`85f2440`](https://togithub.com/bazelbuild/rules_go/commit/85f24400)
Fix: update gomock.bzl by poping incompatible argument
([#&#8203;3674](https://togithub.com/bazelbuild/rules_go/issues/3674))
- [`5206498`](https://togithub.com/bazelbuild/rules_go/commit/5206498b)
use carved out module for x/tools/go/vcs
([#&#8203;3671](https://togithub.com/bazelbuild/rules_go/issues/3671))
- [`2e821f6`](https://togithub.com/bazelbuild/rules_go/commit/2e821f66)
cgo packages with assembly: Support CGO_ENABLED=0
([#&#8203;3661](https://togithub.com/bazelbuild/rules_go/issues/3661))
- [`f64211a`](https://togithub.com/bazelbuild/rules_go/commit/f64211a8)
bzlmod: Add missing experiments and strip_prefix arguments
([#&#8203;3443](https://togithub.com/bazelbuild/rules_go/issues/3443))
([#&#8203;3663](https://togithub.com/bazelbuild/rules_go/issues/3663))
- [`0da92cd`](https://togithub.com/bazelbuild/rules_go/commit/0da92cd6)
go_context: set GOTOOLCHAIN to 'local'
([#&#8203;3660](https://togithub.com/bazelbuild/rules_go/issues/3660))
- [`edf5b64`](https://togithub.com/bazelbuild/rules_go/commit/edf5b64c)
compilepkg: cgo assembly uses the C compiler
([#&#8203;3648](https://togithub.com/bazelbuild/rules_go/issues/3648))
- [`6e10f8c`](https://togithub.com/bazelbuild/rules_go/commit/6e10f8c2)
go/tools/gopackagesdriver: pass Compiler and Arch in DriverResponse
([#&#8203;3657](https://togithub.com/bazelbuild/rules_go/issues/3657))
- [`f5ae196`](https://togithub.com/bazelbuild/rules_go/commit/f5ae196b)
\[proto] Allow multiple outputs from a proto compiler
([#&#8203;3650](https://togithub.com/bazelbuild/rules_go/issues/3650))
- [`57ef719`](https://togithub.com/bazelbuild/rules_go/commit/57ef719d)
Add pgo support for go 1.20
([#&#8203;3641](https://togithub.com/bazelbuild/rules_go/issues/3641))
- [`ce32021`](https://togithub.com/bazelbuild/rules_go/commit/ce320216)
Migrate `exec_tools` to `tools` on `genrule`
([#&#8203;3638](https://togithub.com/bazelbuild/rules_go/issues/3638))
- [`98165a6`](https://togithub.com/bazelbuild/rules_go/commit/98165a62)
Honor `//go/config:linkmode` for `go_test`
([#&#8203;3629](https://togithub.com/bazelbuild/rules_go/issues/3629))
- [`61c1e91`](https://togithub.com/bazelbuild/rules_go/commit/61c1e91d)
Fix `//go/config:linkmode` flag value not being effective
([#&#8203;3627](https://togithub.com/bazelbuild/rules_go/issues/3627))
- [`b0a9851`](https://togithub.com/bazelbuild/rules_go/commit/b0a98519)
Remove deprecated rules
([#&#8203;3538](https://togithub.com/bazelbuild/rules_go/issues/3538))
- [`d2a3cf2`](https://togithub.com/bazelbuild/rules_go/commit/d2a3cf2d)
Fix compilation_outputs_test on Windows with latest Bazel
([#&#8203;3623](https://togithub.com/bazelbuild/rules_go/issues/3623))

**Full Changelog**:
bazelbuild/rules_go@v0.41.0...v0.42.0

#### `WORKSPACE` code

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

    http_archive(
        name = "io_bazel_rules_go",
sha256 =
"91585017debb61982f7054c9688857a2ad1fd823fc3f9cb05048b0025c47d023",
        urls = [

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

"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.42.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.21.1")

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **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://developer.mend.io/github/kreempuff/rules_unreal_engine).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
  • Loading branch information
renovate[bot] committed Sep 29, 2023
2 parents 39066fa + 59b62aa commit dc53e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WORKSPACE
Expand Up @@ -19,7 +19,7 @@ http_archive(
sha256 = "6b65cb7917b4d1709f9410ffe00ecf3e160edf674b78c54a894471320862184f",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.0/rules_go-v0.39.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.41.0/rules_go-v0.39.0.zip",
"https://github.com/bazelbuild/rules_go/releases/download/v0.42.0/rules_go-v0.39.0.zip",
],
)

Expand Down

0 comments on commit dc53e3d

Please sign in to comment.