Skip to content

Commit 293fd38

Browse files
authored
Merge pull request #101 from mishina2228/gh-actions
Migrate CI from Travis CI to GitHub Actions
2 parents 8107b09 + a11241f commit 293fd38

File tree

5 files changed

+39
-25
lines changed

5 files changed

+39
-25
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
ruby:
14+
- 2.3
15+
- 2.4
16+
- 2.5
17+
- 2.6
18+
- 2.7
19+
- '3.0'
20+
- 3.1
21+
- head
22+
steps:
23+
- name: Checkout code
24+
uses: actions/checkout@v3
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
30+
- name: rubocop
31+
run: bundle exec rubocop
32+
- name: test
33+
run: bundle exec rake test
34+
continue-on-error: ${{ matrix.ruby == 'head' }}

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Main
22

3+
- Migrate CI from Travis CI to GitHub Actions (#101)
4+
35
## 0.3.1
46

57
- Relax puma dependency (#94)

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ source 'https://rubygems.org'
44

55
gemspec
66

7-
gem 'rubocop', require: false
7+
# This is the last version which supports Ruby 2.3
8+
gem 'rubocop', '~> 0.81.0', require: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Puma Worker Killer
22

3-
[![Build Status](https://travis-ci.org/schneems/puma_worker_killer.png?branch=master)](https://travis-ci.org/schneems/puma_worker_killer)
3+
[![CI](https://github.com/schneems/puma_worker_killer/actions/workflows/ci.yml/badge.svg)](https://github.com/schneems/puma_worker_killer/actions/workflows/ci.yml)
44
[![Help Contribute to Open Source](https://www.codetriage.com/schneems/puma_worker_killer/badges/users.svg)](https://www.codetriage.com/schneems/puma_worker_killer)
55

66
## !!!!!!!!!!!!!!!! STOP !!!!!!!!!!!!!!!!

0 commit comments

Comments
 (0)