diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7aac094..ad01b04 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: run: git config --global --add safe.directory '*' - name: Replace dependency - run: go mod edit -replace github.com/spf13/pflag=github.com/carapace-sh/carapace-pflag@v1.0.0 + run: go work edit -replace github.com/spf13/pflag=github.com/carapace-sh/carapace-pflag@v1.0.0 - name: Build run: go build -v ./...