Bump rubygems/release-gem from 612653d273a73bdae1df8453e090060bb4db5f31 to a25424ba2ba8b387abc8ef40807c2c85b96cbe32 #1237
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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '15 9 * * *' | |
jobs: | |
ruby-versions: | |
uses: ruby/actions/.github/workflows/ruby_versions.yml@master | |
with: | |
engine: cruby | |
# versions: ["debug"] | |
min_version: 2.7 | |
host: | |
needs: ruby-versions | |
name: ${{ matrix.os }} ${{ matrix.ruby }} | |
if: ${{ github.repository == 'ruby/digest' || github.event_name != 'schedule' }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-22.04 | |
- ubuntu-20.04 | |
- macos-14 | |
- macos-13 | |
- windows-latest | |
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }} | |
include: | |
- { os: windows-latest, ruby: ucrt } | |
- { os: windows-latest, ruby: mswin } | |
- { os: ubuntu-20.04, ruby: jruby } | |
- { os: ubuntu-20.04, ruby: jruby-head } | |
exclude: | |
- { os: windows-latest, ruby: debug } | |
- { os: windows-latest, ruby: head } | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # 'bundle install' and cache | |
- run: ruby --version | |
- run: bundle exec rake compile | |
- run: bundle exec rake build | |
- run: bundle exec rake test | |
continue-on-error: ${{ matrix.ignore-error }} | |
- name: Integration test | |
run: bundle exec rake check | |
continue-on-error: >- | |
${{ | |
matrix.ignore-pkg-error || | |
(matrix.ruby == 'debug') || | |
false }} |