fix: allow definition of functions in global scope #31
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: rspec | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
- master | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
rspec: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' | |
ruby: ["2.5", "2.7", "3.0", "3.1", "3.2"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- run: bundle exec rspec |