mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 13:04:22 +00:00
Update CI templates
* Next version of Bundler will auto choose jobs by default * --retry 3 is already default
This commit is contained in:
parent
a1a5973daa
commit
90f3591744
Notes:
git
2020-06-18 19:15:08 +09:00
@ -7,12 +7,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Ruby <%= ::Gem::Version.new(RUBY_VERSION).segments[0..1].join(".") %>
|
||||
- name: Set up Ruby
|
||||
uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: <%= ::Gem::Version.new(RUBY_VERSION).segments[0..1].join(".") %>.x
|
||||
- name: Build and test with Rake
|
||||
run: |
|
||||
gem install bundler -v <%= Bundler::VERSION %>
|
||||
bundle install --jobs 4 --retry 3
|
||||
bundle install
|
||||
bundle exec rake
|
||||
|
||||
@ -4,6 +4,6 @@ before_script:
|
||||
- gem install bundler -v <%= Bundler::VERSION %>
|
||||
- bundle install
|
||||
|
||||
example_job:
|
||||
test:
|
||||
script:
|
||||
- bundle exec rake
|
||||
- bundle exec rake test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user