Skip to content

Commit a3ead3e

Browse files
authored
chore: Support Ruby 3.4 (#21)
1 parent 544ba1b commit a3ead3e

2 files changed

Lines changed: 47 additions & 46 deletions

File tree

.github/workflows/test.yml

Lines changed: 46 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,49 @@
11
---
2-
name: test
3-
on:
4-
push:
5-
branches:
6-
- "main"
7-
pull_request:
8-
branches:
9-
- "*"
10-
jobs:
11-
lint:
12-
name: RuboCop
13-
timeout-minutes: 30
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@v4
17-
- name: Set up Ruby
18-
uses: ruby/setup-ruby@v1
19-
with:
20-
ruby-version: ruby
21-
bundler-cache: true
22-
- name: Run RuboCop
23-
run: bundle exec rubocop
24-
test:
25-
name: Ruby ${{ matrix.ruby }}
26-
runs-on: ubuntu-latest
27-
strategy:
28-
fail-fast: false
29-
matrix:
30-
ruby:
31-
- "2.5"
32-
- "2.6"
33-
- "2.7"
34-
- "3.0"
35-
- "3.1"
36-
- "3.2"
37-
- "3.3"
38-
steps:
39-
- uses: actions/checkout@v4
2+
name: test
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
8+
branches:
9+
- "*"
10+
jobs:
11+
lint:
12+
name: RuboCop
13+
timeout-minutes: 30
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Set up Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: ruby
21+
bundler-cache: true
22+
- name: Run RuboCop
23+
run: bundle exec rubocop
24+
test:
25+
name: Ruby ${{ matrix.ruby }}
26+
runs-on: ubuntu-latest
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
ruby:
31+
- "2.5"
32+
- "2.6"
33+
- "2.7"
34+
- "3.0"
35+
- "3.1"
36+
- "3.2"
37+
- "3.3"
38+
- "3.4"
39+
steps:
40+
- uses: actions/checkout@v4
4041

41-
- name: Set up Ruby
42-
uses: ruby/setup-ruby@v1
43-
with:
44-
ruby-version: ${{ matrix.ruby }}
45-
bundler-cache: true
42+
- name: Set up Ruby
43+
uses: ruby/setup-ruby@v1
44+
with:
45+
ruby-version: ${{ matrix.ruby }}
46+
bundler-cache: true
4647

47-
- name: Run tests
48-
run: bundle exec rspec
48+
- name: Run tests
49+
run: bundle exec rspec

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.4
1+
3.4.4

0 commit comments

Comments
 (0)