refactor: move platform detection to Rake module, and delete Rake::Win32 module
#942
Workflow file for this run
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: ruby/setup-ruby@4c56a21280b36d862b5fc31348f463d60bdc55d5 # v1.301.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 |