Skip to content

Commit a6cf05d

Browse files
committed
Github Actions
1 parent 3015edf commit a6cf05d

File tree

3 files changed

+60
-48
lines changed

3 files changed

+60
-48
lines changed

.github/workflows/ci.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: build
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
name: "Test: Rails ${{ matrix.rails }} on Ruby ${{ matrix.ruby }}"
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- rails: 5.1
16+
ruby: 2.5
17+
18+
- rails: 5.2
19+
ruby: 2.5
20+
- rails: 5.2
21+
ruby: 2.6
22+
- rails: 5.2
23+
ruby: jruby
24+
25+
- rails: "6.0"
26+
ruby: 2.6
27+
- rails: "6.0"
28+
ruby: 2.7
29+
- rails: "6.0"
30+
ruby: "3.0"
31+
- rails: "6.0"
32+
ruby: jruby
33+
34+
- rails: "6.1"
35+
ruby: "3.0"
36+
- rails: "6.1"
37+
ruby: jruby
38+
39+
env:
40+
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
41+
DISPLAY: ":99.0"
42+
43+
steps:
44+
- uses: actions/checkout@v2
45+
- name: Set up Ruby
46+
uses: ruby/setup-ruby@v1
47+
with:
48+
ruby-version: ${{ matrix.ruby }}
49+
# runs 'bundle install' and caches installed gems automatically
50+
bundler-cache: true
51+
52+
- name: Gemfile
53+
run: echo $BUNDLE_GEMFILE
54+
55+
- name: Ruby Version
56+
run: ruby --version
57+
58+
- name: Run Tests
59+
run: bundle exec rake test

.travis.yml

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

lib/rails_semantic_logger/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module RailsSemanticLogger
2-
VERSION = "4.5.0".freeze
2+
VERSION = "4.5.1".freeze
33
end

0 commit comments

Comments
 (0)