diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 2eb5efd1e..c20181c24 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -44,8 +44,6 @@ jobs: bundler: none - name: Set working directory as safe run: git config --global --add safe.directory $(pwd) - - name: Set up permission - run: chmod -R o-w /opt/hostedtoolcache/Ruby - name: Install dependencies run: | sudo apt-get update @@ -90,8 +88,6 @@ jobs: bundler-cache: none - name: Set working directory as safe run: git config --global --add safe.directory $(pwd) - - name: Set up permission - run: chmod -R o-w /opt/hostedtoolcache/Ruby - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 0afc49b99..5f737028a 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -20,8 +20,6 @@ jobs: bundler: none - name: Set working directory as safe run: git config --global --add safe.directory $(pwd) - - name: Set up permission - run: chmod -R o-w /opt/hostedtoolcache/Ruby - name: Install dependencies run: | sudo apt-get update diff --git a/test/stdlib/Ractor_test.rb b/test/stdlib/Ractor_test.rb index 9ed177c17..f2d0897db 100644 --- a/test/stdlib/Ractor_test.rb +++ b/test/stdlib/Ractor_test.rb @@ -132,6 +132,8 @@ class RactorInstanceTest < Test::Unit::TestCase testing "::Ractor" def test_aref + omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5" + r = Ractor.new {} r['foo'] = 'bar' assert_send_type "(String) -> untyped", @@ -141,6 +143,8 @@ def test_aref end def test_aset + omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5" + r = Ractor.new {} assert_send_type "(String, String) -> String", r, :[]=, 'foo', 'bar'