Skip to content

Commit

Permalink
Don't remove lock file for JRuby and TruffleRuby nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfication committed Jan 10, 2024
1 parent d0892de commit 96f8d30
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/jruby-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: JRuby Nightly

on:
schedule:
# Checks daily
- cron: "0 0 * * *"
on: push
# on:
# schedule:
# # Checks daily
# - cron: "0 0 * * *"

jobs:
TestsOnNightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-head
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/truffleruby-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: TruffleRuby Nightly

on:
schedule:
# Checks daily
- cron: "0 0 * * *"
on: push
# on:
# schedule:
# # Checks daily
# - cron: "0 0 * * *"

jobs:
TestsOnNightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: truffleruby-head
Expand Down
7 changes: 5 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ gemspec
gem "rake"
gem "rspec"

gem "racc" # Needed for JRuby, see https://github.com/jruby/jruby/issues/6581

platforms :mri do
gem "byebug"
gem "prettier"
Expand All @@ -18,3 +16,8 @@ platforms :mri do
gem "simplecov"
gem "solargraph"
end

platforms :jruby do
# Needed for JRuby, see https://github.com/jruby/jruby/issues/6581
gem "racc", force_ruby_platform: true
end

0 comments on commit 96f8d30

Please sign in to comment.