Skip to content

Commit 3eb3d8e

Browse files
authored
Merge pull request #271 from ruby-go-gem/fix_doc
Fix doc
2 parents 0a2c3b3 + a1a7c1a commit 3eb3d8e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

_gem/README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,7 @@ jobs:
104104
- uses: actions/setup-go@v5
105105
- uses: ruby/setup-ruby@v1
106106
with:
107-
bundler-cache: false
108-
109-
# FIXME: setup-go installs cache in `vendor/` and setup-ruby installs cache in `vendor/bundle/`
110-
# If we use the cache in setup-go and setup-ruby at the same time, this doesn't work well because they use the same directory.
111-
# Therefore, the installation location needs to be changed from the setup-ruby default.
112-
- name: bundle install
113-
run: |
114-
set -xe
115-
bundle config --local path ruby-vendor/bundle
116-
bundle install --jobs 4
107+
bundler-cache: true
117108

118109
- name: export CGO_CFLAGS for golangci-lint
119110
run: bundle exec rake go:build_envs[CGO_CFLAGS] >> $GITHUB_ENV
@@ -124,7 +115,7 @@ jobs:
124115
- name: Run golangci-lint
125116
uses: golangci/golangci-lint-action@v6
126117
with:
127-
args: --build-tags ${{ env.BUILD_TAG }}
118+
args: --build-tags ${{ env.BUILD_TAG }} --modules-download-mode=readonly
128119
```
129120
130121
#### Available configurations

0 commit comments

Comments
 (0)