Skip to content

Commit e8f95b5

Browse files
committed
workaround for gcov2lcov warning
``` 2024/10/06 13:15:37 warn: go/build: go list github.com/sue445/go-gem-wrapper/ruby/: exit status 1 go: inconsistent vendoring in /home/runner/work/go-gem-wrapper/go-gem-wrapper: github.com/stretchr/testify@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt gopkg.in/yaml.v3@v3.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt To ignore the vendor directory, use -mod=readonly or -mod=mod. To sync the vendor directory, run: go mod vendor ``` https://github.com/sue445/go-gem-wrapper/actions/runs/11202179509/job/31137980923?pr=182
1 parent d499f78 commit e8f95b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
run: bundle exec rake
6262
working-directory: ${{ env.TEST_GEM_DIR }}
6363

64+
# FIXME: workaround for gcov2lcov warning
65+
- run: rm -rf vendor/
66+
6467
- name: Convert coverage to lcov
6568
uses: jandelgado/gcov2lcov-action@v1
6669
with:

0 commit comments

Comments
 (0)