diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 4012eec7..14648582 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -64,7 +64,7 @@ jobs: # This is only available on public repositories. if: > always() && - !contains(fromJSON('[["cancelled", "skipped"]]'), needs.workflow_syntax.result) && + !contains(fromJSON('["cancelled", "skipped"]'), needs.workflow_syntax.result) && !github.event.repository.private runs-on: ubuntu-latest permissions: diff --git a/.ruby-version b/.ruby-version index fa7adc7a..9c25013d 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.5 +3.3.6 diff --git a/Gemfile.lock b/Gemfile.lock index c5cd6009..a929bf9b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -55,7 +55,7 @@ DEPENDENCIES sorbet-runtime RUBY VERSION - ruby 3.3.5p100 + ruby 3.3.6p108 BUNDLED WITH 2.5.20 diff --git a/spec/homebrew/step_spec.rb b/spec/homebrew/step_spec.rb index 28b4a340..7a92ae06 100644 --- a/spec/homebrew/step_spec.rb +++ b/spec/homebrew/step_spec.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "ostruct" require "spec_helper" describe Homebrew::Step do diff --git a/spec/homebrew/tests/setup_spec.rb b/spec/homebrew/tests/setup_spec.rb index 0989b450..6686b3f6 100644 --- a/spec/homebrew/tests/setup_spec.rb +++ b/spec/homebrew/tests/setup_spec.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "ostruct" require "spec_helper" describe Homebrew::Tests::Setup do diff --git a/spec/stub/system_command.rb b/spec/stub/system_command.rb index cdc78162..01fab29a 100644 --- a/spec/stub/system_command.rb +++ b/spec/stub/system_command.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "ostruct" + class SystemCommand module Mixin def system_command(*) diff --git a/spec/stub/tap.rb b/spec/stub/tap.rb index ea6dd6c1..94e26c96 100644 --- a/spec/stub/tap.rb +++ b/spec/stub/tap.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "ostruct" + class Tap def self.fetch(*) OpenStruct.new(name: "Homebrew/homebrew-core")