name: Ruby on: push: branches: - main pull_request: branches: - main jobs: build: runs-on: ubuntu-latest env: RAILS_ENV: test CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: - "3.2.2" steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run test cases run: bundle exec rake - name: Publish code coverage uses: paambaati/codeclimate-action@v4.0.0