diff options
author | Frank Lam <ryzingsun11@yahoo.com> | 2020-05-30 11:29:31 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 90f3591744330009971a116a8d0bc100eed59ebe (patch) | |
tree | cce81b0708f2fce212d2940f75c50a4c8d405812 /lib/bundler/templates/newgem/.github/workflows/main.yml.tt | |
parent | a1a5973daaf7f433886eed9fe503982cffcf5b99 (diff) |
Update CI templates
* Next version of Bundler will auto choose jobs by default
* --retry 3 is already default
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'lib/bundler/templates/newgem/.github/workflows/main.yml.tt')
-rw-r--r-- | lib/bundler/templates/newgem/.github/workflows/main.yml.tt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/templates/newgem/.github/workflows/main.yml.tt b/lib/bundler/templates/newgem/.github/workflows/main.yml.tt index 929901ac56..5ebe3c753a 100644 --- a/lib/bundler/templates/newgem/.github/workflows/main.yml.tt +++ b/lib/bundler/templates/newgem/.github/workflows/main.yml.tt @@ -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 |