Merge pull request #578 from ruby/dependabot/github_actions/ruby/setu… #484
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v3.3.0 | |
- uses: ruby/setup-ruby@3783f195e29b74ae398d7caca108814bbafde90e # v1.180.1 | |
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 |