Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use jruby instead of circleci/jruby images #302

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ workflows:
image: rubocophq/circleci-ruby-snapshot:latest # Nightly snapshot build
- rake_default:
name: JRuby 9.3
image: circleci/jruby:9.3
image: jruby:9.3
51 changes: 51 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

permissions: # added using https://github.com/step-security/secure-workflows
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
main:
name: ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ubuntu-latest
env:
# See https://github.com/tmm1/test-queue#environment-variables
TEST_QUEUE_WORKERS: 2
JRUBY_OPTS: "--dev -J-Xmx1000M"
strategy:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head', 'jruby-9.4']
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: internal_investigation
run: bundle exec rake internal_investigation
- name: spec
run: bundle exec rake spec

check_documentation_syntax:
runs-on: ubuntu-latest
name: Check documentation syntax
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- run: bundle exec rake documentation_syntax_check