diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-08-04 10:59:50 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
| commit | 43aecf216e5ce323d307a94c987c836f40730ba5 (patch) | |
| tree | 79da26f650002dc89c2298390025992482d58b4c /lib | |
| parent | 2e30d9ab427e71d2c27d5873abbe7320d456d066 (diff) | |
[rubygems/rubygems] Get a CI matrix configured in default Github Actions generated config
Even if it only has one entry at the moment, it makes it easier to add
new entries by doing it this way.
https://github.com/rubygems/rubygems/commit/46232fe265
Co-authored-by: NeimadTL <damientalbot26@gmail.com>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/templates/newgem/github/workflows/main.yml.tt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/github/workflows/main.yml.tt b/lib/bundler/templates/newgem/github/workflows/main.yml.tt index 2a6c505cfd..83ddea25dc 100644 --- a/lib/bundler/templates/newgem/github/workflows/main.yml.tt +++ b/lib/bundler/templates/newgem/github/workflows/main.yml.tt @@ -9,12 +9,18 @@ on: jobs: build: runs-on: ubuntu-latest + + strategy: + matrix: + ruby: + - <%= RUBY_VERSION %> + steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: <%= RUBY_VERSION %> + ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run the default task run: bundle exec rake |
