Skip to content

Commit c33ce1d

Browse files
committed
Merge pull request #2485 from ruby/fix-ci
Skip permission setup
1 parent 60cde33 commit c33ce1d

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/ruby.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ jobs:
4444
bundler: none
4545
- name: Set working directory as safe
4646
run: git config --global --add safe.directory $(pwd)
47-
- name: Set up permission
48-
run: chmod -R o-w /opt/hostedtoolcache/Ruby
4947
- name: Install dependencies
5048
run: |
5149
sudo apt-get update
@@ -90,8 +88,6 @@ jobs:
9088
bundler-cache: none
9189
- name: Set working directory as safe
9290
run: git config --global --add safe.directory $(pwd)
93-
- name: Set up permission
94-
run: chmod -R o-w /opt/hostedtoolcache/Ruby
9591
- name: Install dependencies
9692
run: |
9793
sudo apt-get update

.github/workflows/typecheck.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
bundler: none
2121
- name: Set working directory as safe
2222
run: git config --global --add safe.directory $(pwd)
23-
- name: Set up permission
24-
run: chmod -R o-w /opt/hostedtoolcache/Ruby
2523
- name: Install dependencies
2624
run: |
2725
sudo apt-get update

test/stdlib/Ractor_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ class RactorInstanceTest < Test::Unit::TestCase
132132
testing "::Ractor"
133133

134134
def test_aref
135+
omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"
136+
135137
r = Ractor.new {}
136138
r['foo'] = 'bar'
137139
assert_send_type "(String) -> untyped",
@@ -141,6 +143,8 @@ def test_aref
141143
end
142144

143145
def test_aset
146+
omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"
147+
144148
r = Ractor.new {}
145149
assert_send_type "(String, String) -> String",
146150
r, :[]=, 'foo', 'bar'

0 commit comments

Comments
 (0)