Skip to content

Commit

Permalink
Merge pull request #99 from mkmn/update_ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
mkmn authored Jun 21, 2024
2 parents 8b1c4d8 + c054aad commit 21c0631
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 82 deletions.
80 changes: 0 additions & 80 deletions .circleci/config.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches:
- master
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Ruby
uses: ruby/[email protected]
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle exec rubocop
- run: bundle exec rspec
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
inherit_from: '.rubocop_todo.yml'

AllCops:
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0

Style/AsciiComments:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion kirico.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.7'
spec.required_ruby_version = '>= 3.0'

spec.add_dependency 'activemodel', '>= 5.2'
spec.add_dependency 'activesupport', '>= 5.2'
Expand Down

0 comments on commit 21c0631

Please sign in to comment.