[🤖] Update Latest Dependency #20495
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: Test macOS | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| # Default permissions for all jobs | |
| permissions: {} | |
| jobs: | |
| test-macos: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - macos-13 | |
| ruby: | |
| - '2.5' | |
| - '2.6' | |
| - '2.7' | |
| - '3.0' | |
| - '3.1' | |
| - '3.2' | |
| - '3.3' | |
| - '3.4' | |
| - '3.5' | |
| # ADD NEW RUBIES HERE | |
| name: Test (${{ matrix.os }}, ${{ matrix.ruby }}) | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| SKIP_SIMPLECOV: 1 | |
| DD_INSTRUMENTATION_TELEMETRY_ENABLED: false | |
| DD_REMOTE_CONFIGURATION_ENABLED: false | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| # bundler appears to match both prerelease and release rubies when we | |
| # want the former only. relax the constraint to allow any version for | |
| # head rubies | |
| - if: ${{ matrix.ruby == 'head' }} | |
| run: sed -i~ -e '/spec\.required_ruby_version/d' datadog.gemspec | |
| - uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| rubygems: 3.3.26 | |
| bundler: 2.3.26 # needed to fix issue with steep on Ruby 3.0/3.1 | |
| # Specify gem version for 3.4 because default version (3.6.0.dev) | |
| # leads to an incorrect gem root path | |
| - if: ${{ matrix.ruby == '3.3' || matrix.ruby == '3.4' }} | |
| run: gem update --system 3.5.21 | |
| - run: bundle install | |
| - run: bundle exec rake spec:main | |
| complete: | |
| name: Test macOS (complete) | |
| runs-on: ubuntu-24.04 | |
| needs: | |
| - test-macos | |
| steps: | |
| - run: echo "DONE!" |