name: coverage on: push: branches: [ main ] pull_request: branches: [ main ] jobs: coverage: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.7 uses: actions/setup-ruby@v1 with: ruby-version: '2.7' - name: Build and test with Rake run: | gem install --no-document bundler bundle install --jobs 4 --retry 3 bundle exec rake - name: Coveralls GitHub Action uses: coverallsapp/github-action@v1.1.2 with: github-token: ${{ secrets.GITHUB_TOKEN }}