From f186a3e8ef67ea1e3fbbf4f6d50859a3684dc0a7 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Thu, 27 Aug 2026 14:06:31 +0200 Subject: [PATCH] Fix CI: ruby/setup-ruby doesn't recognize "file" as a version keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Omitting ruby-version entirely triggers its actual auto-detection from .ruby-version — "file" was a mistaken guess and failed with "Unknown engine file". --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index acebfa6..66bd247 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,9 +10,11 @@ jobs: steps: - uses: actions/checkout@v4 + # No ruby-version input: the action auto-detects it from + # .ruby-version when the input is omitted (not "file", which isn't + # a recognized value and fails with "Unknown engine file"). - uses: ruby/setup-ruby@v1 with: - ruby-version: file # reads .ruby-version bundler-cache: true - name: Ruby syntax check