Skip to content

Commit 6d8af20

Browse files
authored
Stop requiring vendored dependencies in CI
We started vendoring dependencies because this was a practice that the Go community had for a while now to: 1. Speed up builds - no need to fetch dependencies every time; 2. Guard against 3rd-party downtime - CI passes even if hosts such as `gopkg.in` are down, or if someone deletes their GitHub repo/account hosting a particular module. With Go 1.13 and GitHub Actions, however, we have these problems solved for free: - The built-in goproxy caches dependencies and speeds up downloads; - Octofactory ensures that dependencies are cached on our own infrastructure, guarding us from 3rd-party downtime. With all this in mind, I feel that we don't have to require vendoring dependencies anymore.
1 parent 24ebdc2 commit 6d8af20

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/go.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
run: go mod verify
2121

2222
- name: Build
23-
env:
24-
GOFLAGS: -mod=vendor
2523
run: |
2624
go test ./...
2725
go build -v .

0 commit comments

Comments
 (0)