Skip to content

Commit fb4cd06

Browse files
authored
Merge pull request #1531 from pod4lib/test40
Test on ruby 4.0
2 parents bebc924 + 0470ddb commit fb4cd06

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

.github/workflows/ruby.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,28 @@ on:
1212

1313
jobs:
1414
test:
15-
1615
runs-on: ubuntu-latest
1716
strategy:
1817
matrix:
19-
ruby: ['3.4']
18+
ruby: ["3.4", "4.0"]
2019

2120
steps:
22-
- uses: actions/checkout@v6
23-
- name: Set up Ruby
24-
uses: ruby/setup-ruby@v1
25-
with:
26-
ruby-version: ${{ matrix.ruby }}
27-
- uses: actions/cache@v5
28-
with:
29-
path: vendor/bundle
30-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
31-
restore-keys: |
32-
${{ runner.os }}-gems-
33-
- name: Bundle install
34-
run: bundle config path vendor/bundle
35-
- name: Install dependencies
36-
run: bin/setup --skip-server
37-
- name: Herb analyze
38-
run: bundle exec herb analyze app --non-interactive --no-log-file
39-
- name: Run tests
40-
run: bundle exec bin/ci
21+
- uses: actions/checkout@v6
22+
- name: Set up Ruby
23+
uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: ${{ matrix.ruby }}
26+
- uses: actions/cache@v5
27+
with:
28+
path: vendor/bundle
29+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
30+
restore-keys: |
31+
${{ runner.os }}-gems-
32+
- name: Bundle install
33+
run: bundle config path vendor/bundle
34+
- name: Install dependencies
35+
run: bin/setup --skip-server
36+
- name: Herb analyze
37+
run: bundle exec herb analyze app --non-interactive --no-log-file
38+
- name: Run tests
39+
run: bundle exec bin/ci

0 commit comments

Comments
 (0)