From f5bead5634d57099f27972242209ea8591ca5f69 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 24 Nov 2021 17:15:06 +0100 Subject: [PATCH] newgem tmpl: ruby as "2.7" in GH Actions matrix --- .../lib/bundler/templates/newgem/github/workflows/main.yml.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt b/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt index 774cb263bf5c..2d774101514b 100644 --- a/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +++ b/bundler/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