Benoit Daloze
eb7f94ffae
Consider Bundler pre and rc versions valid, just exclude .dev
...
* Fixes https://github.com/ruby/setup-ruby/issues/439
2023-01-06 12:49:10 +01:00
Benoit Daloze
ad718faf7a
Break long line in workflow
2022-12-30 15:59:58 +01:00
Lars Kanis
f78d71faf4
Add RubyInstaller-3.2.0-1 for Windows
2022-12-30 15:39:39 +01:00
David Rodríguez
8a6667e214
Reenable fixed RubyGems test
...
Use the same Ruby as the previous test, since it's very related, but
use a newer RubyGems to force the upgrade case.
2022-12-26 13:56:15 +01:00
Benoit Daloze
ee2113536a
Test 3.2 RCs
2022-12-06 07:08:21 -06:00
Benoit Daloze
7a0bff23cb
Disable failing test on old Ruby version
...
* See https://github.com/ruby/setup-ruby/issues/405
2022-11-25 17:20:21 +01:00
Benoit Daloze
4887fd8753
Ignore Bundler dev version in Gemfile.lock
...
* Fixes https://github.com/ruby/setup-ruby/issues/394
2022-11-22 16:22:30 +01:00
Benoit Daloze
0b2c3ee702
Add test for when there is no Gemfile
2022-08-27 10:29:11 +02:00
Benoit Daloze
0a29871fe2
which rake does not work on Windows on Ruby 2.5+
2022-08-23 20:43:55 +02:00
Benoit Daloze
3804ad4ff2
Run which test on all platforms in shell: bash
2022-08-21 12:42:53 +02:00
Benoit Daloze
87ccb7599f
Workaround the CRuby bug of bin/bundle in bash on Windows
...
* Fixes https://github.com/ruby/setup-ruby/issues/371
* See https://bugs.ruby-lang.org/issues/18970
2022-08-20 16:14:03 +02:00
Benoit Daloze
19b31c7064
Test that bundle is available in the bash shell
2022-08-20 16:04:04 +02:00
Benoit Daloze
6148f408d3
Test on ubuntu-22.04
2022-08-06 16:55:13 +02:00
Benoit Daloze
8b5af312bd
Fix permissions of release job
2022-07-29 18:24:39 +02:00
Benoit Daloze
3882fb634e
Test gem github: in a Gemfile
2022-07-29 18:16:42 +02:00
Benoit Daloze
d6ebfae201
Use read-only permissions for the test workflow
2022-07-27 19:16:35 +02:00
neilnaveen
3325fe2d4e
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com >
2022-07-27 19:15:28 +02:00
Benoit Daloze
2489e28c66
Use actions/checkout@v3 in workflows
2022-05-31 11:17:28 +02:00
MSP-Greg
356354c8aa
Actions - show vcpkg list for mswin
2022-05-17 18:24:10 +02:00
Benoit Daloze
a7439cf424
Add support for macos-12
2022-05-16 12:08:36 +02:00
Benoit Daloze
b9675e15ad
Use quotes consistently for Ruby versions in docs
...
* To avoid issues from https://github.com/actions/runner/issues/849
2022-05-15 13:26:47 +02:00
Benoit Daloze
57a3395c80
Support some Rubies on ubuntu-22.04
2022-05-15 13:05:40 +02:00
MSP-Greg
d02b65e726
Actions - add windows-2022 mswin job
2022-05-02 20:51:22 +02:00
Benoit Daloze
dcbc29fae9
Shorten test descriptions
2022-05-02 20:31:14 +02:00
Benoit Daloze
3f53c4ecc2
Add tests
2022-05-02 20:23:57 +02:00
Jason Frey
1a68550f2e
Fix bundler: with a minor version installing the wrong version
...
If passed `bundler: 2.2`, setup-ruby would install bundler 2.3, because
it would generate a constraint that looks like `~> 2.2`. This
unexpectedly installs the latest of the 2.x series, but the expectation
is that it would install the latest of the 2.2.x series.
Fixes #304
2022-04-05 18:04:27 +02:00
Benoit Daloze
cca23415f7
Fix test, 3.1.1 has a newer RubyGems
2022-02-18 20:50:26 +01:00
David Rodríguez
8781aa98b4
Tweak rubygems input behavior
...
When a fixed version is passed, it should be the minimum RubyGems
version for the whole matrix, i.e., RubyGems should not be dowgraded
past the default version of the oldest Ruby in the matrix.
2022-01-23 11:55:32 +01:00
David Rodríguez
c3f0cb18af
Add a new input to optionally update RubyGems
2022-01-23 11:55:32 +01:00
Benoit Daloze
180e1d1f1c
windows-2016 is deprecated and windows-2022 is now supported
...
* Stop testing on windows-2016 to reduce the test matrix size to something reasonable.
2022-01-13 20:27:11 +01:00
MSP-Greg
70ec766ec5
Actions - add windows-2022 jobs
2022-01-13 19:25:34 +01:00
MSP-Greg
b0aab3e1cf
Add ruby-loco ucrt build
2022-01-13 19:25:34 +01:00
MSP-Greg
6cc535991c
Actions - Add Windows-2022 with ruby-head & ruby-mingw
2022-01-13 19:25:34 +01:00
Koichi ITO
bee16c98fd
Support Ruby 3.1.0 for Windows
...
Follow up to https://github.com/oneclick/rubyinstaller2/issues/255#issuecomment-1003266597 .
This PR adds Ruby 3.1.0 to windows-version.js.
2022-01-10 17:52:23 +01:00
Benoit Daloze
313811148f
Previews are not available on Windows
2021-11-24 19:19:52 +01:00
Benoit Daloze
f20f1eae72
Test 3.1 too
2021-11-11 13:19:00 +01:00
Benoit Daloze
7edf159e98
Add support for truffleruby+graalvm
...
* Using ruby-build to avoid duplicating too much logic.
2021-08-07 20:05:23 +02:00
Benoit Daloze
ae9cb3b565
Add Ruby 1.9 on Linux and macOS
...
* On Windows there are no 64-bit builds of Ruby 1.9.
* Fix floatVersion() for head versions.
* Use floatVersion() in more cases instead of regexps.
* Rely on ~/.gemrc to not install gem docs.
2021-08-01 14:56:11 +02:00
Benoit Daloze
e08bf35edf
Ensure the typical bundle exec rake works in all cases
2021-07-29 13:24:06 +02:00
Benoit Daloze
ee30953387
Use an absolute path for BUNDLE_GEMFILE in tests too
2021-07-15 22:58:01 +02:00
Benoit Daloze
189661fc29
Remove workflow schedule as it causes the workflow to be disabled in forks
2021-07-07 22:35:50 +02:00
MSP-Greg
9f177f2b7c
Improve Path info in CI, add workflow_dispatch
2021-06-27 13:40:18 +02:00
Robin Wallin
517a3b1b36
Enable sassc test on JRuby on Windows
...
9.2.18.0 has been released, so this should work now.
2021-06-10 11:24:56 +02:00
Benoit Daloze
1328335dba
Cleanup
2021-06-06 11:03:36 +02:00
Benoit Daloze
ea774f6ee1
CI: show gem env
2021-06-06 11:03:29 +02:00
Benoit Daloze
77ca66ce27
Add 2.0.0 on Windows too
2021-05-31 22:18:27 +02:00
Filipe Brandenburger
fd1a6a00ca
Mention Ruby 2.0 in README and add it to CI
2021-05-31 22:07:29 +02:00
Benoit Daloze
d320226fe2
Automatically pick the latest version of 2.6 for testing
...
* 2.6.7 is not yet available on Windows
2021-04-05 19:47:58 +02:00
Benoit Daloze
d2f535c1ed
Add Ruby 2.5.9, 2.6.7, 2.7.3 and 3.0.1
...
* Simplify list of supported CRuby versions.
2021-04-05 19:39:06 +02:00
Benoit Daloze
ad65390c0a
Disable sassc test on JRuby on Windows as it fails on 9.2.17.0
...
* See https://github.com/jruby/jruby/issues/6648
2021-04-02 11:47:35 +02:00