feat: support gsub_file
erroring if gsub doesn't change anything, and add gsub_file!
#249
Workflow file for this run
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: Run tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'head'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler: ${{ (matrix.ruby_version < '3' && '2.4.21') || 'latest' }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: bundle exec thor spec |