Skip to content

Commit e95567e

Browse files
committed
build: Fix up hugo mod tidy
1 parent 4b5706a commit e95567e

File tree

4 files changed

+31
-25
lines changed

4 files changed

+31
-25
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ repos:
1010
language: system
1111
files: "(.*\\.go|go.mod|go.sum|go.mk)$"
1212
pass_filenames: false
13+
- id: hugo-mod-tidy
14+
name: hugo-mod-tidy
15+
entry: bash -c "cd docs && hugo mod tidy"
16+
language: system
17+
files: "^docs/"
18+
pass_filenames: false
1319
- repo: https://github.com/tekwizely/pre-commit-golang
1420
rev: v1.0.0-rc.1
1521
hooks:

devbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"gotestsum@latest",
2222
"hadolint@latest",
2323
"helm-docs@latest",
24-
"hugo@0.116.1",
24+
"hugo@0.117.0",
2525
"kubebuilder@latest",
2626
"kubectl@latest",
2727
"kubernetes-controller-tools@latest",

devbox.lock

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"version": "4.9.0"
3939
},
4040
"fluxcd@latest": {
41-
"last_modified": "2023-07-23T03:35:12Z",
42-
"resolved": "github:NixOS/nixpkgs/af8cd5ded7735ca1df1a1174864daab75feeb64a#fluxcd",
41+
"last_modified": "2023-08-25T03:28:31Z",
42+
"resolved": "github:NixOS/nixpkgs/1e44a037bbf4fcaba041436e65e87be88f3f495b#fluxcd",
4343
"source": "devbox-search",
44-
"version": "2.0.1"
44+
"version": "2.1.0"
4545
},
4646
"ginkgo@latest": {
4747
"last_modified": "2023-06-30T04:44:22Z",
@@ -56,10 +56,10 @@
5656
"version": "2.41.0"
5757
},
5858
"github-cli@latest": {
59-
"last_modified": "2023-05-14T19:13:12Z",
60-
"resolved": "github:NixOS/nixpkgs/3007746b3f5bfcb49e102b517bca891822a41b31#github-cli",
59+
"last_modified": "2023-02-24T09:01:09Z",
60+
"resolved": "github:NixOS/nixpkgs/7d0ed7f2e5aea07ab22ccb338d27fbe347ed2f11#github-cli",
6161
"source": "devbox-search",
62-
"version": "2.29.0"
62+
"version": "2.23.0"
6363
},
6464
"gnumake@latest": {
6565
"last_modified": "2023-07-23T03:35:12Z",
@@ -74,10 +74,10 @@
7474
"version": "4.9"
7575
},
7676
"go@latest": {
77-
"last_modified": "2023-07-30T12:29:02Z",
78-
"resolved": "github:NixOS/nixpkgs/3acb5c4264c490e7714d503c7166a3fde0c51324#go",
77+
"last_modified": "2023-08-22T06:04:29Z",
78+
"resolved": "github:NixOS/nixpkgs/9d757ec498666cc1dcc6f2be26db4fd3e1e9ab37#go_1_21",
7979
"source": "devbox-search",
80-
"version": "1.20.6"
80+
"version": "1.21.0"
8181
},
8282
"gojq@latest": {
8383
"last_modified": "2023-06-30T04:44:22Z",
@@ -86,10 +86,10 @@
8686
"version": "0.12.13"
8787
},
8888
"golangci-lint@latest": {
89-
"last_modified": "2023-06-30T04:44:22Z",
90-
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#golangci-lint",
89+
"last_modified": "2023-08-22T06:04:29Z",
90+
"resolved": "github:NixOS/nixpkgs/9d757ec498666cc1dcc6f2be26db4fd3e1e9ab37#golangci-lint",
9191
"source": "devbox-search",
92-
"version": "1.53.3"
92+
"version": "1.54.2"
9393
},
9494
"golines@latest": {
9595
"last_modified": "2023-06-30T04:44:22Z",
@@ -127,11 +127,11 @@
127127
"source": "devbox-search",
128128
"version": "1.11.0"
129129
},
130-
"hugo@0.116.1": {
131-
"last_modified": "2023-08-08T03:07:33Z",
132-
"resolved": "github:NixOS/nixpkgs/844ffa82bbe2a2779c86ab3a72ff1b4176cec467#hugo",
130+
"hugo@0.117.0": {
131+
"last_modified": "2023-08-08T11:45:39Z",
132+
"resolved": "github:NixOS/nixpkgs/4e6868b1aa3766ab1de169922bb3826143941973#hugo",
133133
"source": "devbox-search",
134-
"version": "0.116.1"
134+
"version": "0.117.0"
135135
},
136136
"kind@latest": {
137137
"last_modified": "2023-06-18T15:53:58Z",
@@ -164,10 +164,10 @@
164164
"version": "3.12.2"
165165
},
166166
"kustomize@latest": {
167-
"last_modified": "2023-06-30T04:44:22Z",
168-
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#kustomize",
167+
"last_modified": "2023-08-14T01:28:26Z",
168+
"resolved": "github:NixOS/nixpkgs/81b970640e56a5c07a336d2c05018b0c9bf57a51#kustomize",
169169
"source": "devbox-search",
170-
"version": "5.1.0"
170+
"version": "5.1.1"
171171
},
172172
"pre-commit@latest": {
173173
"last_modified": "2023-06-30T04:44:22Z",
@@ -182,10 +182,10 @@
182182
"version": "3.7.0"
183183
},
184184
"upx@latest": {
185-
"last_modified": "2023-06-30T04:44:22Z",
186-
"resolved": "github:NixOS/nixpkgs/3c614fbc76fc152f3e1bc4b2263da6d90adf80fb#upx",
185+
"last_modified": "2023-08-14T01:28:26Z",
186+
"resolved": "github:NixOS/nixpkgs/81b970640e56a5c07a336d2c05018b0c9bf57a51#upx",
187187
"source": "devbox-search",
188-
"version": "4.0.2"
188+
"version": "4.1.0"
189189
},
190190
"yamale@latest": {
191191
"last_modified": "2023-06-30T04:44:22Z",

make/go.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ mod-tidy: ## Run go mod tidy for all modules
135135
ifneq ($(wildcard $(REPO_ROOT)/go.mod),)
136136
mod-tidy: mod-tidy.root
137137
endif
138-
ifneq ($(words $(ALL_GO_SUBMODULES)),0)
139-
mod-tidy: $(addprefix mod-tidy.,$(ALL_GO_SUBMODULES:/go.mod=))
138+
ifneq ($(words $(GO_SUBMODULES_NO_DOCS)),0)
139+
mod-tidy: $(addprefix mod-tidy.,$(GO_SUBMODULES_NO_DOCS:/go.mod=))
140140
endif
141141

142142
.PHONY: mod-tidy.%

0 commit comments

Comments
 (0)