Bump dry-struct from 1.6.0 to 1.7.0 #1721
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: Ruby | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.allow-failures }} | |
strategy: | |
matrix: | |
ruby: ['3.4'] | |
allow-failures: [false] | |
include: | |
- ruby: head | |
allow-failures: true | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install ruby dependencies | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: Check source files using `rubocop` | |
run: rubocop | |
- name: Test with Rake | |
env: | |
REDIS: ${{ env.REDIS_HOST }} | |
run: | | |
bundle exec rspec | |
- name: Check `simplecov` line coverage | |
run: cat coverage/.last_run.json | jq '.result.line' | grep -q '100' | |
- name: Check `simplecov` branch coverage | |
run: cat coverage/.last_run.json | jq '.result.branch' | grep -q '100' |