Merge pull request #522 from ruby/dependabot/github_actions/ruby/setu… #2
This file contains 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.3.0 | |
- uses: ruby/setup-ruby@54a18e26dbbb1eabc604f317ade9a5788dddef81 # v1.159.0 | |
with: | |
ruby-version: '3.0' | |
- name: Install dependencies | |
run: gem install minitest -v "5.15.0" | |
- name: Run test | |
env: | |
COVERALLS: "yes" | |
run: ruby -Ilib exe/rake |