Skip to content

Use upstream GH actions config #22

Use upstream GH actions config

Use upstream GH actions config #22

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- 3.0
- 3.1
- 3.2
- 3.3
- head
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run Rubocop
run: bundle exec rubocop
- name: Run tests
run: COVERAGE=true bundle exec rspec
- name: Upload coverage results
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-report-ruby-${{ matrix.ruby-version }}
path: coverage