Skip to content

Commit

Permalink
Merge pull request #37 from panorama-ed/switch-panolint-to-panolint-ruby
Browse files Browse the repository at this point in the history
Switch panolint to panolint-ruby
  • Loading branch information
JacobEvelyn authored Jun 5, 2023
2 parents cd79b81 + d1829cf commit 8e7dff8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 23 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,17 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
ruby: [ 2.6, 2.7 ]
ruby: [ 3.1, 3.2 ]
runs-on: ${{ matrix.os }}
env:
CI: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/cache@v1
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
bundle-use-ruby-${{ matrix.os }}-${{ matrix.ruby }}-
bundler-cache: true
- run: sudo apt-get install libsqlite3-dev
- name: bundle install
run: |
ruby -v
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- run: bundle exec rubocop
- run: bundle exec rspec
- run: bundle exec rubocop
if: matrix.ruby == 3.2
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
inherit_gem:
panolint: panolint-rubocop.yml
panolint-ruby: panolint-ruby-rubocop.yml
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gemspec

group :development do
gem "panolint", github: "panorama-ed/panolint", branch: "main"
gem "codecov"
gem "panolint-ruby", github: "panorama-ed/panolint-ruby", branch: "main"
gem "rspec"
gem "sqlite3"
gem "temping"
end
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Code Coverage](https://codecov.io/gh/panorama-ed/attribute_helpers/branch/master/graph/badge.svg)](https://codecov.io/gh/panorama-ed/attribute_helpers)
[![Build Status](https://travis-ci.com/panorama-ed/attribute_helpers.svg)](https://travis-ci.com/panorama-ed/attribute_helpers)
![Test Status](https://github.com/panorama-ed/attribute_helpers/actions/workflows/tests.yml/badge.svg?branch=main)
[![Inline docs](http://inch-ci.org/github/panorama-ed/attribute_helpers.png)](http://inch-ci.org/github/panorama-ed/attribute_helpers)
[![Gem Version](https://badge.fury.io/rb/attribute_helpers.svg)](http://badge.fury.io/rb/attribute_helpers)

Expand Down
6 changes: 0 additions & 6 deletions attribute_helpers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,5 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler"
spec.add_development_dependency "codecov"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "temping"
spec.metadata["rubygems_mfa_required"] = "true"
end

0 comments on commit 8e7dff8

Please sign in to comment.