File tree Expand file tree Collapse file tree 3 files changed +43
-7
lines changed Expand file tree Collapse file tree 3 files changed +43
-7
lines changed Original file line number Diff line number Diff line change
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 : Ruby
9
+
10
+ on :
11
+ push :
12
+ branches : [ master ]
13
+ pull_request :
14
+
15
+ jobs :
16
+ test :
17
+
18
+ runs-on : ubuntu-latest
19
+ strategy :
20
+ matrix :
21
+ ruby : [ '2.5', '2.6', '2.7' ]
22
+
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - name : Set up Ruby
26
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
27
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
28
+ uses : ruby/setup-ruby@v1
29
+ with :
30
+ ruby-version : ${{ matrix.ruby }}
31
+ - name : Restore dependencies cache
32
+ uses : actions/cache@v2
33
+ with :
34
+ path : vendor/bundle
35
+ key : ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }}
36
+ restore-keys : ${{ runner.os }}-${{ matrix.ruby }}-gem-
37
+ - name : Install dependencies
38
+ run : |
39
+ bundle config path vendor/bundle
40
+ bundle install --jobs 4 --retry 3
41
+ - name : Run tests
42
+ run : bundle exec rake
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Faraday::Encoding
2
2
3
3
[ ![ Gem Version] ( https://badge.fury.io/rb/faraday-encoding.svg )] ( http://badge.fury.io/rb/faraday-encoding )
4
- [ ![ Build Status] ( https://travis-ci.org /ma2gedev/faraday-encoding.svg )] ( https://travis-ci.org /ma2gedev/faraday-encoding )
4
+ [ ![ Build Status] ( https://github.com /ma2gedev/faraday-encoding/workflows/Ruby/badge .svg?branch=master )] ( https://github.com /ma2gedev/faraday-encoding/actions?query=workflow%3ARuby )
5
5
6
6
A Faraday Middleware sets body encoding when specified by server.
7
7
You can’t perform that action at this time.
0 commit comments