(temp) *do* use cache but invalidate them #101
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: Test with Minitest | |
on: | |
push: | |
paths: | |
- .github/workflows/test.yml | |
- lib/** | |
- test/** | |
- Gemfile | |
- '*.gemspec' | |
pull_request: | |
paths: | |
- .github/workflows/test.yml | |
- lib/** | |
- test/** | |
- Gemfile | |
- '*.gemspec' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
ruby-version: ['3', '3.1'] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: ruby/setup-ruby@v1 | |
with: | |
windows-toolchain: 'none' # remove this line if the project requires MSYS2 DevKit | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
cache-version: 25.1 | |
- name: Test with Minitest | |
run: bundle exec rake test:isolated |