Skip to content

Commit

Permalink
Add modern Ruby/Python to CI (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Dec 3, 2022
1 parent 1a26deb commit 9f481e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
jobs:
rubocop:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,9 +20,9 @@ jobs:
build:
strategy:
matrix:
ruby: [ 'jruby-9.2', '2.3', '3.0' ]
python: [ '3.5', '3.10' ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
ruby: [ 'jruby-9.2', '2.3', '3.1' ]
python: [ '3.6', '3.11' ]
platform: [ ubuntu-18.04, macos-latest, windows-2019 ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ on:
tags: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
ruby-version: '3.1'
bundler-cache: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.11'
- name: Build
run: bundle exec rake build
- name: Publish to RubyGems.org
Expand Down
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If a Python process dies, a new one will be spawned on the next pygments.rb requ

== System Requirements

- Python >= 3.5
- Python >= 3.6
- Ruby >= 2.3

== Installation
Expand Down

0 comments on commit 9f481e6

Please sign in to comment.