Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
- "3.2"
- "3.3"
- "3.4"
- "4.0"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
require "bundler/gem_tasks"
require "minitest/test_task"

Minitest::TestTask.create
Minitest::TestTask.create do |t|
# Capistrano 3.20 emits circular require warnings under Ruby 3.4 with -w.
# Keep test output clean until upstream fixes the warning path.
t.warning = false
end

require "standard/rake"

Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/solid_queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def execute_systemd(*args, raise_on_non_zero_exit: true)

def sudo_if_needed(*command, raise_on_non_zero_exit: true)
if fetch(:solid_queue_systemctl_user) == :system
backend.sudo command.map(&:to_s).join(" ")
backend.sudo command.join(" ")
Comment thread
burisu marked this conversation as resolved.
else
backend.execute(*command, raise_on_non_zero_exit: raise_on_non_zero_exit)
end
Expand Down