Skip to content

Commit 1a175c3

Browse files
.github/workflows: run go mod tidy as part of format checks
Fixes #562 Signed-off-by: Gesa Stupperich <[email protected]>
1 parent 682f3ca commit 1a175c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,11 @@ jobs:
101101
- name: Install goimports
102102
run: go install golang.org/x/tools/cmd/goimports
103103

104-
- name: Format code
104+
- name: Format code, clean up imports and module dependencies
105105
run: |
106106
go fmt ./...
107107
goimports -w -local github.com/tailscale .
108+
go mod tidy
108109
109110
- name: Check for uncommitted changes
110111
run: |

0 commit comments

Comments
 (0)