Skip to content

Commit 070791a

Browse files
authored
Bump actions/checkout from 3 to 4 (#31)
* Bump actions/checkout from 3 to 4 * ruby.yml - update Actions image/os list, Windows openssl, misc * Update OpenSSL install on Windows 2019, yarn/ncc
1 parent af45875 commit 070791a

File tree

6 files changed

+186
-170
lines changed

6 files changed

+186
-170
lines changed

.github/workflows/ruby.yml

Lines changed: 12 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [ ubuntu-20.04, ubuntu-18.04, macos-11, macos-10.15 ]
24-
ruby: [ ruby-head, 3.1, '3.0', 2.7, 2.5, 2.2, jruby, truffleruby ]
23+
os: [ ubuntu-22.04, ubuntu-20.04, macos-13, macos-12, macos-11 ]
24+
ruby: [ ruby-head, 3.2, 3.1, '3.0', 2.7, 2.5, 2.2, jruby, truffleruby ]
25+
exclude:
26+
- { os: ubuntu-22.04 , ruby: 2.2 }
2527
runs-on: ${{ matrix.os }}
2628
steps:
2729
- name: Checkout
28-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
2931

3032
- name: Ruby Install
3133
uses: ./
@@ -39,27 +41,26 @@ jobs:
3941
ruby -v
4042
echo ''
4143
gcc --version
42-
echo ''
4344
openssl version
4445
echo ''
4546
ragel --version
4647
echo ''
4748
bundler version
4849
echo ''
49-
gem --version
50+
echo "RubyGems $(gem --version)"
5051
5152
win32:
5253
name: >-
5354
${{ matrix.os }} ${{ matrix.ruby }}
5455
strategy:
5556
fail-fast: false
5657
matrix:
57-
os: [ windows-2019, windows-2022 ]
58-
ruby: [ mswin, mingw, ucrt, head, 3.1, '3.0', 2.5, 2.4, 2.3, 2.2 ]
58+
os: [ windows-2022, windows-2019 ]
59+
ruby: [ mswin, mingw, ucrt, head, 3.2, 3.1, '3.0', 2.5, 2.4, 2.3, 2.2 ]
5960
runs-on: ${{ matrix.os }}
6061
steps:
6162
- name: Checkout
62-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
6364

6465
- name: Ruby Install
6566
uses: ./
@@ -94,35 +95,7 @@ jobs:
9495
timeout-minutes: 5
9596

9697
- name: gem install openssl
97-
if: ((matrix.ruby >= '2.4') && (matrix.ruby <= '3.2')) || (matrix.ruby == 'head')
98+
if: |
99+
((matrix.ruby >= '2.5') && (matrix.os == 'windows-2019'))
100+
|| ((matrix.ruby >= '2.4') && (matrix.os >= 'windows-2022'))
98101
run: gem install openssl -N
99-
100-
plus:
101-
name: >-
102-
plus ${{ matrix.os }} ${{ matrix.ruby }}
103-
strategy:
104-
fail-fast: false
105-
matrix:
106-
os: [ ubuntu-20.04, macos-11 ]
107-
ruby: [ '3.0' ]
108-
runs-on: ${{ matrix.os }}
109-
steps:
110-
- name: Checkout
111-
uses: actions/checkout@v3
112-
113-
- name: Ruby Install
114-
uses: ./
115-
with:
116-
ruby-version: ${{ matrix.ruby }}
117-
apt-get: g++
118-
brew: libxml++3
119-
120-
- name: Info
121-
run: |
122-
ruby -v
123-
echo ''
124-
gcc --version
125-
echo ''
126-
bundler version
127-
echo ''
128-
gem --version

0 commit comments

Comments
 (0)