Skip to content

Commit

Permalink
swarmd: commit go.work file
Browse files Browse the repository at this point in the history
Make sure that swarmd does not bit-rot by building and testing it
against the local swarmkit module sources instead of whichever version
is listed in go.mod. This does risk us failing to notice when bumping
the swarmkit requirement becomes necessary, but we do not expect any
third parties to import packages from the swarmd module. And if anyone
does, they could always work around our oversight by adding a
requirement on a newer Swarmkit to their project.

Signed-off-by: Cory Snider <[email protected]>
  • Loading branch information
corhere committed Feb 23, 2024
1 parent 1b63b0b commit 1c77ee6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions swarmd/go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
go 1.18

use (
.
./..
)
1 change: 1 addition & 0 deletions swarmd/go.work.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=

0 comments on commit 1c77ee6

Please sign in to comment.