Hiroshi SHIBATA
382d786c8a
Removed macos-arm-oss from GitHub Actions
2024-07-05 12:11:07 +02:00
Benoit Daloze
c48bc1e88d
macos-11 is no longer available
2024-06-30 12:41:55 +02:00
Benoit Daloze
af43264f2b
GH_REPO and GH_TOKEN must be set
2024-06-27 15:41:42 +02:00
Benoit Daloze
3251c5c21b
Add workflow to automatically create a release
2024-06-27 15:23:12 +02:00
Kenichi Kamiya
7dc18ff0ca
Exclude ruby 1.9 and 2.2 test for ubuntu-24.04
...
https://github.com/ruby/setup-ruby/pull/596#discussion_r1606047680
2024-05-20 17:46:39 +08:00
Kenichi Kamiya
868b8c0873
Test against ubuntu-24.04 runner
2024-05-20 17:46:39 +08:00
Benoit Daloze
22fdc77bf4
Clarify comment in test.yml
2024-01-31 16:00:45 +01:00
なつき
e8677f0f39
Add support for macos-14-arm64 GitHub runners
2024-01-31 15:57:37 +01:00
Benoit Daloze
bd03e04863
Test 3.3 on Windows
2024-01-25 17:18:05 +01:00
MSP-Greg
558057564b
Add windows-toolchain input
2024-01-22 11:07:31 +01:00
Benoit Daloze
360dc864d5
Shorten job title to fit in GH UI
2023-12-28 12:21:45 +01:00
MSP-Greg
251b9047a8
Fixup rubygems: latest to work with Rubies < 2.3
2023-12-28 13:20:54 +02:00
Benoit Daloze
961f85197f
Rename workflow and variable for clarity
2023-12-27 20:27:45 +01:00
MSP-Greg
28f930222f
Fixup Rubygems latest
2023-12-27 21:23:02 +02:00
Benoit Daloze
a05e47355e
Java is now available on macos-arm-oss
2023-10-21 12:52:54 +02:00
Benoit Daloze
9f4cc09ff9
3.1 is now available on macos-arm64
2023-10-12 12:54:54 +02:00
Benoit Daloze
5cfe23c062
Add support for macos-13-arm64 GitHub runners
2023-10-11 18:58:56 +02:00
Benoit Daloze
9aede54d98
Exclude known failing combination
...
* See https://github.com/ruby/setup-ruby/issues/496
2023-09-19 12:28:45 +02:00
Lorenzo Zabot
4f1c6a74a7
Update actions/checkout to v4
2023-09-06 11:47:06 +02:00
Benoit Daloze
7d546f4868
Test 3.3 preview
2023-05-14 14:27:22 +02:00
Benoit Daloze
6cecb48364
Use ubuntu-20.04 for test using Ruby 2.2
...
* https://github.com/ruby/setup-ruby/issues/496#issuecomment-1520667671
2023-04-24 22:02:59 +02:00
Dan Federman
4d88f85d08
Add support for macos-13 ( #501 )
2023-04-24 21:44:28 +02:00
Hiroshi SHIBATA
92aece5fc9
Also removed deprecated ubuntu-18.04
2023-02-27 19:56:46 +01:00
Hiroshi SHIBATA
db791aad7b
Removed macos-10.15 because it will be removed at 2023-03-31
2023-02-27 19:56:46 +01:00
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