Skip to content

Commit d277c5c

Browse files
committed
Replace github testing workflow
1 parent 56a8d15 commit d277c5c

File tree

1 file changed

+15
-25
lines changed

1 file changed

+15
-25
lines changed

Diff for: .github/workflows/ruby.yml

+15-25
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,25 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7-
81
name: Ruby
92

103
on:
114
push:
12-
branches: [ main ]
5+
branches: [main]
136
pull_request:
14-
branches: [ main ]
7+
branches: [main]
158

169
jobs:
17-
test:
18-
10+
build:
1911
runs-on: ubuntu-latest
20-
strategy:
21-
matrix:
22-
ruby-version: ['2.7', '3.0']
2312

2413
steps:
25-
- uses: actions/checkout@v2
26-
- name: Set up Ruby
27-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
28-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
29-
# uses: ruby/setup-ruby@v1
30-
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
31-
with:
32-
ruby-version: ${{ matrix.ruby-version }}
33-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
34-
- name: Run tests
35-
run: bundle exec rake
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Ruby
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: 3.2
20+
21+
- name: Install dependencies
22+
run: bundle install
23+
24+
- name: Run tests
25+
run: bundle exec rake

0 commit comments

Comments
 (0)