From a3a263e81ef01aa13b1a9ad5573cc81f928dd33e Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 19 Aug 2024 11:39:54 +0200 Subject: [PATCH] Remove the -lang flag from gofumpt --- .github/workflows/master.yaml | 2 +- .github/workflows/pull-requests.yaml | 2 +- MODULE.bazel | 2 +- go.mod | 2 +- go.sum | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index fbb4edfb..5dcb052f 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -25,7 +25,7 @@ }, { "name": "Gofmt", - "run": "bazel run @cc_mvdan_gofumpt//:gofumpt -- -lang 1.19 -w -extra $(pwd)" + "run": "bazel run @cc_mvdan_gofumpt//:gofumpt -- -w -extra $(pwd)" }, { "name": "Clang format", diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 00f760dc..ed14695a 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -25,7 +25,7 @@ }, { "name": "Gofmt", - "run": "bazel run @cc_mvdan_gofumpt//:gofumpt -- -lang 1.19 -w -extra $(pwd)" + "run": "bazel run @cc_mvdan_gofumpt//:gofumpt -- -w -extra $(pwd)" }, { "name": "Clang format", diff --git a/MODULE.bazel b/MODULE.bazel index 33618cb6..d15276e8 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -16,7 +16,7 @@ bazel_dep(name = "toolchains_llvm", version = "1.0.0") git_override( module_name = "com_github_buildbarn_bb_storage", - commit = "d07a29c5d102dbc0aa177687f453b1a5614f006a", + commit = "a869915feea7333a85e92e7a9f7a4821969408d6", remote = "https://github.com/buildbarn/bb-storage.git", ) diff --git a/go.mod b/go.mod index 38c89f39..8ff588b7 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( cloud.google.com/go/longrunning v0.5.12 github.com/bazelbuild/buildtools v0.0.0-20240804201302-37932ddd7230 github.com/bazelbuild/remote-apis v0.0.0-20240703191324-0d21f29acdb9 - github.com/buildbarn/bb-storage v0.0.0-20240816064113-d07a29c5d102 + github.com/buildbarn/bb-storage v0.0.0-20240819085035-a869915feea7 github.com/buildbarn/go-xdr v0.0.0-20240702182809-236788cf9e89 github.com/golang/protobuf v1.5.4 github.com/google/uuid v1.6.0 diff --git a/go.sum b/go.sum index 5aedd707..2e46e381 100644 --- a/go.sum +++ b/go.sum @@ -61,6 +61,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/buildbarn/bb-storage v0.0.0-20240816064113-d07a29c5d102 h1:RpwFsHr8YcXJ5Kf6UKtcKut9iKwMl7EibU9RACFhY9E= github.com/buildbarn/bb-storage v0.0.0-20240816064113-d07a29c5d102/go.mod h1:96JvG1P6w+7kgYBO9/ySuCzNjMTYR7oBjcFAevq3gPQ= +github.com/buildbarn/bb-storage v0.0.0-20240819085035-a869915feea7 h1:7Xpj+Lra53MnDtSnhoUhXHWJAytDXe1IXSrp0TbiQZw= +github.com/buildbarn/bb-storage v0.0.0-20240819085035-a869915feea7/go.mod h1:vte1T088HnMnEsVo+xU/3R54oAKRCkTYFJJpjxC252w= github.com/buildbarn/go-xdr v0.0.0-20240702182809-236788cf9e89 h1:Wtpgk4CIkoEJ7Qx3BwjaMp3TOVv834heqyCC9jMKStM= github.com/buildbarn/go-xdr v0.0.0-20240702182809-236788cf9e89/go.mod h1:zO8MAbsa53deqysDsONWhnRaj8fNFKDU96pKWrvieOw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=