File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 uses : ruby/setup-ruby@v1
2525 with :
2626 bundler-cache : true
27- ruby-version : " 3.1"
27+ ruby-version : " 3.1.6 "
2828 - name : Run Hatchet destroy
2929 # Only apps older than 10 minutes are destroyed, to ensure that any
3030 # in progress CI runs are not interrupted.
Original file line number Diff line number Diff line change 99
1010 expect ( `ruby -v` ) . to match ( Regexp . escape ( LanguagePack ::RubyVersion ::BOOTSTRAP_VERSION_NUMBER ) )
1111
12- # bootstrap_version = Gem::Version.new(LanguagePack::RubyVersion::BOOTSTRAP_VERSION_NUMBER)
13- # default_version = Gem::Version.new(LanguagePack::RubyVersion::DEFAULT_VERSION_NUMBER )
14-
15- # expect(bootstrap_version ).to be >= default_version
12+ ci_task = Pathname ( ".github" ) . join ( "workflows" ) . join ( "hatchet_app_cleaner.yml" ) . read
13+ ci_task_yml = YAML . load ( ci_task )
14+ task = ci_task_yml [ "jobs" ] [ "hatchet-app-cleaner" ] [ "steps" ] . detect { | step | step [ "uses" ] . match? ( /ruby \/ setup-ruby/ ) } or raise "Not found"
15+ expect ( task [ "with" ] [ "ruby-version" ] ) . to match ( LanguagePack :: RubyVersion :: BOOTSTRAP_VERSION_NUMBER )
1616 end
1717end
Original file line number Diff line number Diff line change 1919 )
2020
2121 outdated . call
22- expect ( outdated . suggested_ruby_minor_version ) . to eq ( "3.1.6 " )
22+ expect ( outdated . suggested_ruby_minor_version ) . to eq ( "3.1.7 " )
2323 end
2424
2525 it "handles arm 💪 architecture on heroku-24" do
You can’t perform that action at this time.
0 commit comments