Skip to content

Commit

Permalink
CI: Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianbica authored Sep 4, 2019
1 parent 829e214 commit e591c21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push]

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -18,8 +19,24 @@ jobs:
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Rubocop
uses: andrewmcodes/rubocop-linter-action@v0.1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


publish:
release:
name: Release
needs: test
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion azure-tts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 1.17"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "minitest-around"
spec.add_development_dependency "multi_json"
spec.add_development_dependency "pry"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "vcr"
spec.add_development_dependency "webmock"
spec.add_development_dependency "multi_json"
end

0 comments on commit e591c21

Please sign in to comment.