Merge pull request #675 from ruby/dependabot/github_actions/actions/c… #778
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: coverage | |
| on: [push, pull_request] | |
| permissions: # added using https://github.com/step-security/secure-workflows | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: ruby/setup-ruby@d697be2f83c6234b20877c3b5eac7a7f342f0d0c # v1.269.0 | |
| with: | |
| ruby-version: '3.0' | |
| - name: Install dependencies | |
| run: gem install test-unit coveralls | |
| - name: Run test | |
| env: | |
| COVERALLS: "yes" | |
| run: ruby -Ilib exe/rake |