From f2e7008bac9e62108daef66f00799db1e4cd216d Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Wed, 26 Nov 2025 15:54:10 +0100 Subject: [PATCH 1/2] Require ruby >=3.0 Although we don't technically require it, we should match what smart-proxy itself needs to prevent issues in CI. --- .github/workflows/test.yml | 2 ++ smart_proxy_remote_execution_ssh.gemspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcc38c8..db9874b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,8 @@ jobs: rubocop: name: Rubocop uses: theforeman/actions/.github/workflows/rubocop.yml@v0 + with: + ruby: 3.0 test: name: Tests diff --git a/smart_proxy_remote_execution_ssh.gemspec b/smart_proxy_remote_execution_ssh.gemspec index ce71563..312cbab 100644 --- a/smart_proxy_remote_execution_ssh.gemspec +++ b/smart_proxy_remote_execution_ssh.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.license = 'GPL-3.0-only' - gem.required_ruby_version = '>= 2.7.0' + gem.required_ruby_version = '>= 3.0' gem.add_development_dependency("rake", '~> 13.0') gem.add_development_dependency('minitest', '~> 5.23') From 73fe7400cdca32f807cc921bd84765d5c2ab7d12 Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Wed, 26 Nov 2025 15:58:43 +0100 Subject: [PATCH 2/2] Switch to smart_proxy_plugin workflow --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db9874b..a39c8da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,4 @@ jobs: test: name: Tests - uses: theforeman/actions/.github/workflows/test-gem.yml@v0 - with: - command: bundle exec rake test + uses: theforeman/actions/.github/workflows/smart_proxy_plugin.yml@v0