Skip to content

Commit 8e80f3d

Browse files
authored
Merge pull request #1616 from git/actions-ci
replace travis ci script with github action
2 parents a25657d + 65502bd commit 8e80f3d

File tree

5 files changed

+25
-19
lines changed

5 files changed

+25
-19
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI/PR
2+
on: pull_request
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
10+
- name: ruby setup
11+
uses: ruby/setup-ruby@v1
12+
with:
13+
bundler-cache: true
14+
15+
- name: rails setup
16+
run: bundle exec rake db:create db:schema:load
17+
18+
- name: rubocop
19+
run: bundle exec rubocop -P
20+
21+
- name: rspec
22+
run: bundle exec rspec

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.2
1+
2.7.3

.travis.yml

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

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
source "https://rubygems.org"
4-
ruby "2.7.2"
4+
ruby "2.7.3"
55

66
gem "rails", "~> 6.0"
77

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ DEPENDENCIES
356356
yajl-ruby
357357

358358
RUBY VERSION
359-
ruby 2.7.2p137
359+
ruby 2.7.3p183
360360

361361
BUNDLED WITH
362362
2.1.4

0 commit comments

Comments
 (0)