mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Fix older bundle cloning of dependencies via git (#1470)
Bundler for older ruby versions uses anonymous git to clone ruby dependencies directly from repos. Ensure these all use https by configuring git to replace the URL automatically.
This commit is contained in:
3
.github/workflows/unit-tests.yml
vendored
3
.github/workflows/unit-tests.yml
vendored
@@ -81,6 +81,9 @@ jobs:
|
||||
run: |
|
||||
gem update --system --conservative || (gem i "rubygems-update:~>2.7" --no-document && update_rubygems)
|
||||
gem update bundler --conservative
|
||||
- name: Ensure bundle uses https instead of insecure git
|
||||
run: |
|
||||
git config --global url."https://github.com/".insteadOf git://github.com/
|
||||
- name: Handle additional ruby 3.0 setup
|
||||
if: ${{ matrix.ruby == '3.0.0' }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user