Skip to content

Ban gepub 1.0.16 to fix CI (#474) #643

Ban gepub 1.0.16 to fix CI (#474)

Ban gepub 1.0.16 to fix CI (#474) #643

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
activate:
runs-on: ubuntu-latest
if: "!endsWith(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Proceed
run: echo ok go
lint:
needs: activate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Lint
run: bundle exec rake lint
test:
needs: activate
strategy:
matrix:
ruby: ['jruby-9.3', 'jruby-9.4', '2.6', '3.3']
os: [ubuntu-latest, windows-latest]
include:
- ruby: '3.3'
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: bundle exec rake spec