Bump the minor-and-patch group with 4 updates #9095
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] | |
env: | |
SRB_SKIP_GEM_RBIS: true | |
jobs: | |
linters: | |
runs-on: ubuntu-latest | |
name: Linters | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
rubygems: 'latest' | |
bundler: 'latest' | |
- name: Run type check | |
run: bin/typecheck | |
- name: Lint Ruby files | |
run: bin/style | |
- name: Verify documentation | |
run: bin/docs | |
- name: Verify README | |
run: bin/readme | |
- name: Verify gem RBIs are up-to-date | |
run: bundle exec exe/tapioca gem --verify | |
- name: Verify duplicates in shims | |
run: bundle exec exe/tapioca check-shims | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.1", "3.2", "3.3", "head"] | |
rails: ["7.0", "current", "main"] | |
include: | |
- rails: "main" | |
experimental: true | |
- ruby: "head" | |
experimental: true | |
name: Ruby ${{ matrix.ruby }} - Rails ${{ matrix.rails }} | |
env: | |
RAILS_VERSION: ${{ matrix.rails }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install protobuf | |
run: | | |
curl -OL https://github.com/google/protobuf/releases/download/v25.3/protoc-25.3-linux-x86_64.zip | |
unzip protoc-25.3-linux-x86_64.zip -d $HOME/.local | |
export PATH="$PATH:$HOME/.local/bin" | |
- name: Remove Gemfile.lock | |
# Remove Gemfile.lock for Ruby head builds and non-Rails current builds | |
if: ${{ matrix.ruby == 'head' || matrix.rails != 'current' }} | |
run: "rm -f Gemfile.lock" | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
rubygems: 'latest' | |
bundler: 'latest' | |
- name: Run tests | |
run: bin/test | |
continue-on-error: ${{ !!matrix.experimental }} | |
buildall: | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
name: Build (matrix) | |
needs: [linters, tests] | |
steps: | |
- name: Check build matrix status | |
if: ${{ needs.tests.result != 'success' || needs.linters.result != 'success' }} | |
run: exit 1 |