name: coverage on: push: branches: [ main ] pull_request: branches: [ main ] jobs: coverage: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - name: Set up Ruby 2.7 uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' bundler-cache: true - name: Build and test with Rake run: bundle exec rake - name: Coveralls GitHub Action uses: coverallsapp/github-action@v1.1.2 with: github-token: ${{ secrets.GITHUB_TOKEN }}