From 69775aa1aca28b5d711ffce20f55768085eee258 Mon Sep 17 00:00:00 2001 From: Andrew Konchin Date: Wed, 3 Jun 2026 23:16:50 +0300 Subject: [PATCH] Fix documentation workflow and resolve an issue with Gemfile and Gemfile.lock The fixed error manifests in the following way: ``` Some dependencies were deleted from your gemfile, but the lockfile can't be updated because frozen mode is set ... Run `bundle install` elsewhere and add the updated Gemfile.lock to version control. If this is a development machine, remove the Gemfile.lock freeze by running `bundle config set frozen false`. ``` --- .github/workflows/documentation.yml | 2 ++ gemfiles/yard.gemfile | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 gemfiles/yard.gemfile diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f36977d5..69c7303f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -48,6 +48,8 @@ jobs: # Generate API References build-reference: runs-on: ubuntu-latest + env: + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/yard.gemfile steps: - uses: actions/checkout@v4 diff --git a/gemfiles/yard.gemfile b/gemfiles/yard.gemfile new file mode 100644 index 00000000..23a69721 --- /dev/null +++ b/gemfiles/yard.gemfile @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +gem 'yard', '~> 0.9.0'