Skip to content

Commit 49c481d

Browse files
committed
Update GitHub Actions workflows.
Add more up-to-date ruby versions, and refresh some Actions dependencies.
1 parent c1a59be commit 49c481d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout rubyzip-bzip2 code
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1111

1212
- name: Install and set up ruby
1313
uses: ruby/setup-ruby@v1

.github/workflows/tests.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,23 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu]
11-
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', head, jruby, jruby-head, truffleruby, truffleruby-head]
11+
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', head, jruby, jruby-head, truffleruby, truffleruby-head]
1212
include:
1313
- os: macos
14-
ruby: 2.4
14+
ruby: '2.6'
1515
- os: windows
16-
ruby: 2.4.10
16+
ruby: '2.4.10'
1717
runs-on: ${{ matrix.os }}-latest
1818
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.os == 'windows' }}
1919
steps:
2020
- name: Checkout rubyzip-bzip2 code
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
- name: Install and set up ruby
2424
uses: ruby/setup-ruby@v1
2525
with:
2626
ruby-version: ${{ matrix.ruby }}
27+
rubygems: latest
2728
bundler-cache: true
2829

2930
- name: Install bzip2 library
@@ -39,7 +40,7 @@ jobs:
3940

4041
- name: Coveralls
4142
if: matrix.os == 'ubuntu' && !endsWith(matrix.ruby, 'head')
42-
uses: coverallsapp/github-action@master
43+
uses: coverallsapp/github-action@v2
4344
with:
4445
github-token: ${{ secrets.github_token }}
4546
flag-name: ${{ matrix.ruby }}
@@ -50,7 +51,7 @@ jobs:
5051
runs-on: ubuntu-latest
5152
steps:
5253
- name: Coveralls Finished
53-
uses: coverallsapp/github-action@master
54+
uses: coverallsapp/github-action@v2
5455
with:
5556
github-token: ${{ secrets.github_token }}
5657
parallel-finished: true

0 commit comments

Comments
 (0)