Skip to content

Commit

Permalink
Switch to GitHub Actions for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
potatosalad committed Jan 8, 2024
1 parent be15a7e commit 7987713
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: [push, pull_request]

env:
JOSE_CRYPTO_FALLBACK: "true"
RUBYOPT: "-W0"

jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby: ['2.7.8', '3.2.2', '3.3.0']

steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions jose.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_dependency "base64"
spec.add_dependency "immutable-ruby"
end

0 comments on commit 7987713

Please sign in to comment.