mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Update to latest builds fixing "Insecure world writable dir" warnings
* Update to Rubinius 4.14 which fixes some segfaults.
This commit is contained in:
@@ -35,6 +35,8 @@ jobs:
|
|||||||
- run: ruby --version
|
- run: ruby --version
|
||||||
- run: ridk version
|
- run: ridk version
|
||||||
if: matrix.os == 'windows-latest' && !startsWith(matrix.ruby, '2.3')
|
if: matrix.os == 'windows-latest' && !startsWith(matrix.ruby, '2.3')
|
||||||
|
- name: Subprocess test
|
||||||
|
run: ruby test_subprocess.rb
|
||||||
- name: OpenSSL version
|
- name: OpenSSL version
|
||||||
run: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION'
|
run: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION'
|
||||||
- name: OpenSSL test
|
- name: OpenSSL test
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby:
|
|||||||
| Ruby | 2.3.0 - 2.3.8, 2.4.0 - 2.4.9, 2.5.0 - 2.5.7, 2.6.0 - 2.6.5, 2.7.0, head |
|
| Ruby | 2.3.0 - 2.3.8, 2.4.0 - 2.4.9, 2.5.0 - 2.5.7, 2.6.0 - 2.6.5, 2.7.0, head |
|
||||||
| JRuby | 9.2.9.0 |
|
| JRuby | 9.2.9.0 |
|
||||||
| TruffleRuby | 19.3.0, 19.3.1, head |
|
| TruffleRuby | 19.3.0, 19.3.1, head |
|
||||||
| Rubinius | 4.13 |
|
| Rubinius | 4.14 |
|
||||||
|
|
||||||
Note that Ruby 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life,
|
Note that Ruby 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life,
|
||||||
which means Ruby 2.3 is unmaintained and considered insecure.
|
which means Ruby 2.3 is unmaintained and considered insecure.
|
||||||
|
|||||||
+2
-2
@@ -2163,7 +2163,7 @@ function getVersions(platform) {
|
|||||||
|
|
||||||
if (platform === 'ubuntu-18.04') {
|
if (platform === 'ubuntu-18.04') {
|
||||||
versions['rubinius'] = [
|
versions['rubinius'] = [
|
||||||
"4.13"
|
"4.14"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5148,7 +5148,7 @@ const tc = __webpack_require__(533)
|
|||||||
const rubyBuilderVersions = __webpack_require__(156)
|
const rubyBuilderVersions = __webpack_require__(156)
|
||||||
const axios = __webpack_require__(53)
|
const axios = __webpack_require__(53)
|
||||||
|
|
||||||
const builderReleaseTag = 'builds-newer-openssl'
|
const builderReleaseTag = 'builds-no-warn'
|
||||||
const releasesURL = 'https://github.com/eregon/ruby-builder/releases'
|
const releasesURL = 'https://github.com/eregon/ruby-builder/releases'
|
||||||
|
|
||||||
function getAvailableVersions(platform, engine) {
|
function getAvailableVersions(platform, engine) {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export function getVersions(platform) {
|
|||||||
|
|
||||||
if (platform === 'ubuntu-18.04') {
|
if (platform === 'ubuntu-18.04') {
|
||||||
versions['rubinius'] = [
|
versions['rubinius'] = [
|
||||||
"4.13"
|
"4.14"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ const tc = require('@actions/tool-cache')
|
|||||||
const rubyBuilderVersions = require('./ruby-builder-versions')
|
const rubyBuilderVersions = require('./ruby-builder-versions')
|
||||||
const axios = require('axios')
|
const axios = require('axios')
|
||||||
|
|
||||||
const builderReleaseTag = 'builds-newer-openssl'
|
const builderReleaseTag = 'builds-no-warn'
|
||||||
const releasesURL = 'https://github.com/eregon/ruby-builder/releases'
|
const releasesURL = 'https://github.com/eregon/ruby-builder/releases'
|
||||||
|
|
||||||
export function getAvailableVersions(platform, engine) {
|
export function getAvailableVersions(platform, engine) {
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
require 'rbconfig'
|
||||||
|
require 'stringio'
|
||||||
|
|
||||||
|
puts "CPPFLAGS: #{RbConfig::CONFIG["CPPFLAGS"]}"
|
||||||
|
|
||||||
|
$stderr = StringIO.new
|
||||||
|
begin
|
||||||
|
system RbConfig.ruby, "-e", "p :OK"
|
||||||
|
out = $stderr.string
|
||||||
|
ensure
|
||||||
|
$stderr = STDERR
|
||||||
|
end
|
||||||
|
abort out unless out.empty?
|
||||||
Reference in New Issue
Block a user