Skip to content

Commit 264f858

Browse files
committed
Refactor GitHub Actions workflows
1 parent e3ee8b0 commit 264f858

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/main.yml renamed to .github/workflows/test.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
name: Ruby
1+
name: CI
22

33
on:
44
push:
5-
branches:
6-
- master
7-
5+
branches: [ master ]
86
pull_request:
97

108
jobs:
@@ -25,11 +23,12 @@ jobs:
2523
RACK_VERSION: ${{ matrix.rack_version }}
2624

2725
steps:
28-
- uses: actions/checkout@v4
29-
- name: Set up Ruby
30-
uses: ruby/setup-ruby@v1
31-
with:
32-
ruby-version: ${{ matrix.ruby }}
33-
bundler-cache: true
34-
- name: Run the default task
35-
run: bundle exec rake
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
- name: Set up Ruby
29+
uses: ruby/setup-ruby@v1
30+
with:
31+
ruby-version: ${{ matrix.ruby }}
32+
bundler-cache: true
33+
- name: Run tests
34+
run: bundle exec rake

0 commit comments

Comments
 (0)