-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from rsteube/work-replace
github: use go.work for replacement
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,8 @@ jobs: | |
|
||
- name: Replace dependency | ||
run: | | ||
go mod edit -replace github.com/spf13/pflag=github.com/rsteube/[email protected] | ||
go mod tidy | ||
go work init . | ||
go work edit -replace github.com/spf13/pflag=github.com/rsteube/[email protected] | ||
- name: Build | ||
run: go build -v ./... | ||
|
@@ -63,8 +63,8 @@ jobs: | |
|
||
- name: Replace dependency | ||
run: | | ||
go mod edit -replace github.com/spf13/pflag=github.com/rsteube/[email protected] | ||
go mod tidy | ||
go work init . | ||
go work edit -replace github.com/spf13/pflag=github.com/rsteube/[email protected] | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
profile.cov | ||
cmd/carapace-spec/carapace-spec | ||
dist | ||
docs/book | ||
go.work | ||
go.work.sum | ||
profile.cov |