File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -104,16 +104,7 @@ jobs:
104
104
- uses : actions/setup-go@v5
105
105
- uses : ruby/setup-ruby@v1
106
106
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
117
108
118
109
- name : export CGO_CFLAGS for golangci-lint
119
110
run : bundle exec rake go:build_envs[CGO_CFLAGS] >> $GITHUB_ENV
@@ -124,7 +115,7 @@ jobs:
124
115
- name : Run golangci-lint
125
116
uses : golangci/golangci-lint-action@v6
126
117
with :
127
- args : --build-tags ${{ env.BUILD_TAG }}
118
+ args : --build-tags ${{ env.BUILD_TAG }} --modules-download-mode=readonly
128
119
` ` `
129
120
130
121
#### Available configurations
You can’t perform that action at this time.
0 commit comments