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
2 changes: 1 addition & 1 deletion .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
ruby-version: ruby
bundler-cache: true

- name: Build library
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpp-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Compile prism
run: bundle exec rake compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cruby-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up latest ruby head
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler: none
- uses: actions/checkout@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: ruby
bundler-cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: ruby
bundler-cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-wasm-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true

- name: rake templates
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/javascript-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true

- name: rake templates
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
ruby-version: ruby
bundler-cache: true
- name: Lint
run: bundle exec rake lint
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
ruby-version: ruby
bundler-cache: true
- name: Check Sorbet
run: bundle exec rake typecheck:tapioca typecheck:sorbet
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Run Ruby tests
run: bundle exec rake
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Run Ruby tests
run: bundle exec rake compile_no_debug test
Expand All @@ -153,7 +153,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Run Ruby tests
run: bundle exec rake
Expand All @@ -167,7 +167,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Run Ruby tests
run: bundle exec rake compile_minimal test
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Lex ruby/ruby
run: bundle exec rake lex:ruby
Expand All @@ -231,7 +231,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Lex discourse/discourse
run: bundle exec rake lex:discourse
Expand All @@ -243,7 +243,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Lex Top 100 Gems
run: bundle exec rake lex:topgems
Expand All @@ -258,6 +258,8 @@ jobs:

memcheck:
runs-on: ubuntu-24.04
env:
BUNDLER_VERSION: '0' # https://github.com/ruby/ruby/pull/16909
steps:
- uses: actions/checkout@v6
- name: Install valgrind
Expand All @@ -278,7 +280,7 @@ jobs:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- run: bundle config --local frozen false
- run: bundle exec rake build:dev
Expand Down Expand Up @@ -355,7 +357,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Run build with gcc-analyzer enabled
run: |
Expand All @@ -368,7 +370,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
ruby-version: ruby
bundler-cache: true
- name: Install clang-analyzer
run: sudo apt-get install -y clang-tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
ruby-version: ruby
bundler-cache: true

- uses: rust-lang/crates-io-auth-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
ruby-version: ruby
bundler-cache: true

- name: Publish to RubyGems
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
ruby-version: ruby
bundler-cache: true

- name: Set up node
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
ruby-version: ruby
bundler-cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
ruby-version: ruby
bundler-cache: true
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
ruby-version: ruby
bundler-cache: true
- name: rake cargo:build
run: bundle exec rake cargo:build
Expand Down
Loading