Skip to content

Retry a full clone when git server does not support shallow capabilities #10303

Retry a full clone when git server does not support shallow capabilities

Retry a full clone when git server does not support shallow capabilities #10303

Workflow file for this run

name: jruby-bundler
on:
pull_request:
push:
branches:
- master
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
defaults:
run:
shell: bash
jobs:
jruby_bundler:
name: Bundler on JRuby (${{ matrix.os }})
runs-on: ${{ matrix.os }}
env:
RGV: ..
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup ruby
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
with:
ruby-version: jruby-9.4.7.0
bundler: none
- name: Setup java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 19.0.2
if: "!startsWith(matrix.os.name, 'ubuntu')"
- name: Prepare dependencies
run: |
bin/rake spec:parallel_deps
- name: Run Test
run: |
bin/parallel_rspec --tag jruby_only --tag jruby
working-directory: ./bundler
if: startsWith(matrix.os.name, 'ubuntu')
- name: Install local bundler
run: |
bin/rake bundler:install:local
if: startsWith(matrix.os.name, 'ubuntu')
- name: Run a warbler project
run: |
cd spec/realworld/fixtures/warbler
bundle install
bundle exec warble
java -jar warbler.jar
if: startsWith(matrix.os.name, 'ubuntu')