Merge pull request #116 from maxmind/dependabot/github_actions/ruby/s… #424
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: Run tests | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '3 23 * * SUN' | |
| permissions: {} | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| version: | |
| [ | |
| 3.2, | |
| 3.3, | |
| 3.4, | |
| jruby, | |
| ] | |
| exclude: | |
| - os: windows-latest | |
| version: jruby | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| # zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces. | |
| # specify that we want the v1 branch. | |
| - uses: ruby/setup-ruby@d5126b9b3579e429dd52e51e68624dda2e05be25 # 1.267.0 | |
| with: | |
| ruby-version: ${{ matrix.version }} | |
| - run: bundle install | |
| - run: bundle exec rake -t test |