summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/templates/newgem/github/workflows/main.yml.tt2
1 files changed, 1 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 774cb263bf..2d77410151 100644
--- a/lib/bundler/templates/newgem/github/workflows/main.yml.tt
+++ b/lib/bundler/templates/newgem/github/workflows/main.yml.tt
@@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
ruby:
- - '<%= RUBY_VERSION %>'
+ - '<%= RUBY_VERSION.split(".").take(2).join(".") %>'
steps:
- uses: actions/checkout@v2