Skip to content

Commit 716a98f

Browse files
committed
ci: switch to GitHub Actions
1 parent 844c973 commit 716a98f

5 files changed

Lines changed: 36 additions & 49 deletions

File tree

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7+
8+
name: build
9+
10+
on: push
11+
12+
jobs:
13+
test:
14+
runs-on: ubuntu-20.04
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
ruby:
19+
- '3.0'
20+
- '2.7'
21+
- '2.6'
22+
- '2.5'
23+
- '2.4'
24+
- truffleruby
25+
gemfile:
26+
- openssl_2_2
27+
- openssl_2_1
28+
env:
29+
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: ruby/setup-ruby@v1
33+
with:
34+
ruby-version: ${{ matrix.ruby }}
35+
bundler-cache: true
36+
- run: bundle exec rake

.travis.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

Appraisals

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise "cose_head" do
4-
gem "cose", git: "https://github.com/cedarcode/cose-ruby"
5-
end
6-
7-
appraise "openssl_head" do
8-
gem "openssl", git: "https://github.com/ruby/openssl"
9-
end
10-
113
appraise "openssl_2_2" do
124
gem "openssl", "~> 2.2.0"
135
end

gemfiles/cose_head.gemfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

gemfiles/openssl_head.gemfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)