Skip to content

Keep platform variants in vendor/cache even if incompatible with the current Ruby version #13068

Keep platform variants in vendor/cache even if incompatible with the current Ruby version

Keep platform variants in vendor/cache even if incompatible with the current Ruby version #13068

Workflow file for this run

name: ubuntu-lint
on:
pull_request:
push:
branches:
- master
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
ubuntu_lint:
name: Lint on ${{ matrix.ruby.name }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
ruby:
- { name: ruby, value: 3.4.1 }
- { name: truffleruby, value: truffleruby-24.1.2 }
env:
RUBYOPT: -Ilib
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup ruby
uses: ruby/setup-ruby@1287d2b408066abada82d5ad1c63652e758428d9 # v1.214.0
with:
ruby-version: ${{ matrix.ruby.value }}
bundler: none
- name: Install Dependencies
run: bin/rake setup
- name: Run Lint
run: bin/rake rubocop
- name: Generate docs
run: bin/rake docs
- name: Install & Check Dependencies
run: bin/rake dev:frozen_deps
- name: Misc checks
run: bin/rake check_rvm_integration man:check vendor:check version:check check_rubygems_integration
timeout-minutes: 15