Skip to content

๐Ÿ”’๏ธ Checksums for v0.1.4 #19

๐Ÿ”’๏ธ Checksums for v0.1.4

๐Ÿ”’๏ธ Checksums for v0.1.4 #19

name: TruffleRuby 23.1
permissions:
contents: read
env:
K_SOUP_COV_DO: false
on:
push:
branches:
- 'main'
- '*-stable'
tags:
- '!*' # Do not execute on tags
pull_request:
branches:
- '*'
# Allow manually triggering the workflow.
workflow_dispatch:
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
test:
if: "github.event_name != 'push' || (!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')) && (github.event_name != 'pull_request' || startsWith(github.head_ref, 'engines/') || startsWith(github.head_ref, 'truffleruby/'))"
name: Specs ${{ matrix.ruby }}@${{ matrix.appraisal }}
runs-on: ubuntu-22.04
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/ruby_3_2.gemfile
strategy:
matrix:
include:
# NOTE: truffleruby does not support upgrading rubygems.
# truffleruby-23.1 (targets Ruby 3.2 compatibility)
- ruby: "truffleruby-23.1"
appraisal: "ruby-3-2"
exec_cmd: "kettle-test"
rubygems: default
bundler: default
experimental: true
steps:
- name: Checkout
if: ${{ !env.ACT }}
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Setup Ruby & RubyGems
if: ${{ !env.ACT }}
uses: ruby/setup-ruby@003a5c4d8d6321bd302e38f6f0ec593f77f06600 # v1.319.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: ${{ matrix.rubygems }}
bundler: ${{ matrix.bundler }}
bundler-cache: true
- name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
if: ${{ !env.ACT }}
run: bundle exec ${{ matrix.exec_cmd }}