Skip to content

Update git requirement from ~> 3.1 to >= 3.1, < 5.0 #192

Update git requirement from ~> 3.1 to >= 3.1, < 5.0

Update git requirement from ~> 3.1 to >= 3.1, < 5.0 #192

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [develop, release-v*]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2', '3.3', '3.4']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: COVERAGE=1 bundle exec rake test
- name: Code coverage of changes
if: ${{ github.base_ref }}
run: |
git fetch origin ${{ github.base_ref }}
bundle exec uncov -t origin/${{ github.base_ref }}
lint:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2', '3.3', '3.4']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run Rubocop
run: bundle exec rake lint