.github/workflows/ruby.yml
name: build
on: [push]
jobs:
build:
name: build
runs-on: ubuntu-latest
env:
RUBY_VERSION: 3
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- name: RSpec
uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: bundle exec rspec
debug: true