Change how the git CLI subprocess is executed #701
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
workflow_dispatch: | |
jobs: | |
continuous_integration_build: | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: [2.7, 3.0, 3.1, 3.2, head, jruby-head, truffleruby-head] | |
operating-system: [ubuntu-latest] | |
include: | |
- | |
# Run minimal 2.x ruby version supported on windows-latest | |
ruby: 2.7 | |
operating-system: windows-latest | |
- | |
# Run minimal 3.x ruby version supported on windows-latest | |
ruby: 3.0 | |
operating-system: windows-latest | |
- | |
# Run jruby-latest on windows-latest | |
ruby: jruby-head | |
operating-system: windows-latest | |
# Currently jruby is not support on windows for git-2.x | |
# There are a few bugs that need to be fixed in JRuby first. | |
# Remove this `continue-on-error` setting when the JRuby build is successful. | |
continuing-on-error: true | |
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }} | |
runs-on: ${{ matrix.operating-system }} | |
env: | |
JAVA_OPTS: -Djdk.io.File.enableADS=true | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Run Build | |
run: bundle exec rake default | |
- name: Test Gem | |
run: bundle exec rake test:gem |