Skip to content

Commit

Permalink
newgem templ: Avoid Float 3.0 -> "3" in GH Action
Browse files Browse the repository at this point in the history
This change avoids a YAML Float-to-String conversion, which turns a 3.0 into a "3". That can make names of builds less clear.

In order to use this new capability, I added a "name" descriptor to the matrix-created Job.
  • Loading branch information
olleolleolle committed Nov 24, 2021
1 parent 481c271 commit 6221241
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
jobs:
build:
runs-on: ubuntu-latest

name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- <%= RUBY_VERSION %>
- '<%= RUBY_VERSION %>'

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 6221241

Please sign in to comment.