Skip to content

Commit 1da3f06

Browse files
committed
Workaround for error
1 parent e0b0f42 commit 1da3f06

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,19 @@ jobs:
174174
run: echo "BUILD_TAG=$(bundle exec rake go:build_tag)" >> $GITHUB_ENV
175175
- run: echo $BUILD_TAG
176176

177+
# FIXME: Workaround for following error
178+
#
179+
# govulncheck: loading packages: err: exit status 1: stderr: go: inconsistent vendoring in /home/runner/work/go-gem-wrapper/go-gem-wrapper:
180+
# github.com/stretchr/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
181+
# github.com/davecgh/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
182+
# github.com/pmezard/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
183+
# gopkg.in/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
184+
#
185+
# To ignore the vendor directory, use -mod=readonly or -mod=mod.
186+
# To sync the vendor directory, run:
187+
# go mod vendor
188+
- run: rm -rf vendor/
189+
177190
# FIXME: golang/govulncheck-action@v1 doesn't support `-tags` arg
178191
# - uses: golang/govulncheck-action@v1
179192
# with:

0 commit comments

Comments
 (0)