Skip to content

Commit 75dc432

Browse files
committed
actions: keep lockfile generator go.mod free of local replace
The previous commit re-staged a dirty working-tree go.mod, so the machine-specific replace directive pointing at a local actions-lockfile clone leaked back into the tree. Drop it for real and move the local replace into a gitignored go.work so committed module metadata stays portable while local builds still resolve the not-yet-public dependency.
1 parent 5085314 commit 75dc432

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
/lockfile-extension-generator
2+
3+
# local-only module workspace carrying the actions-lockfile replace
4+
go.work
5+
go.work.sum

actions/extractor/tools/lockfile-extension-generator/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@ require gopkg.in/yaml.v3 v3.0.1 // indirect
1313
// go mod edit -replace github.com/github/actions-lockfile/go=/path/to/actions-lockfile/go
1414
//
1515
// Remove this replace directive once actions-lockfile is published.
16-
17-
replace github.com/github/actions-lockfile/go => /Users/nodeselector/ghq/github.com/github/actions-lockfile/go

0 commit comments

Comments
 (0)