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

Run CI on latest versions #649

Merged
merged 2 commits into from
Dec 28, 2024
Merged
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
25 changes: 13 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: ruby
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
Expand All @@ -29,6 +29,7 @@ jobs:
matrix:
os:
- ubuntu-20.04
- ubuntu-latest
ruby:
- "2.5"
- "2.6"
Expand All @@ -37,22 +38,22 @@ jobs:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
gemfile:
- gemfiles/standalone.gemfile
- gemfiles/openssl.gemfile
- gemfiles/rbnacl.gemfile
- gemfiles/rbnacl_pre_6.gemfile
experimental: [false]
include:
- os: ubuntu-22.04
ruby: "3.1"
gemfile: 'gemfiles/standalone.gemfile'
experimental: false
- os: ubuntu-20.04
ruby: "3.0"
gemfile: 'gemfiles/openssl.gemfile'
experimental: false
- os: ubuntu-latest
ruby: "truffleruby-head"
gemfile: 'gemfiles/standalone.gemfile'
experimental: true
- os: ubuntu-22.04
- os: ubuntu-latest
ruby: "head"
gemfile: 'gemfiles/standalone.gemfile'
experimental: true
Expand All @@ -61,7 +62,7 @@ jobs:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install libsodium
run: |
Expand All @@ -86,7 +87,7 @@ jobs:

coverage:
name: Report coverage to Code Climate
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: test
if: success() && github.ref == 'refs/heads/main'
env:
Expand All @@ -108,11 +109,11 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
ruby-version: ruby
- name: Build GEM
run: gem build
- name: Install built GEM
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

**Fixes and enhancements:**

- Ruby 3.4 to CI matrix [#649](https://github.com/jwt/ruby-jwt/pull/649) ([@anakinj](https://github.com/anakinj))
- Your contribution here

## [v2.10.1](https://github.com/jwt/ruby-jwt/tree/v2.10.1) (2024-12-26)
Expand Down
Loading