Skip to content

Bump uri from 1.0.3 to 1.0.4 #13

Bump uri from 1.0.3 to 1.0.4

Bump uri from 1.0.3 to 1.0.4 #13

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2']
fail-fast: false
max-parallel: 4
env:
RAILS_ENV: test
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Add platform to bundle
run: |
bundle lock --add-platform x86_64-linux
bundle lock --add-platform ruby
bundle lock --add-platform x86_64-darwin
bundle lock --add-platform arm64-darwin
- name: Install dependencies
run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Cache RuboCop
uses: actions/cache@v3
with:
path: ~/.cache/rubocop_cache
key: ${{ runner.os }}-rubocop-${{ hashFiles('**/.rubocop.yml') }}
restore-keys: |
${{ runner.os }}-rubocop-
- name: Run tests
run: bundle exec rspec --format progress
- name: Run rubocop
run: bundle exec rubocop --parallel --format github