Skip to content

Commit

Permalink
Build gems with verbosity and strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Apr 28, 2023
1 parent 506d0e6 commit f317fba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
BUNDLE_WITHOUT: release
- name: Build gem
run: gem build *.gemspec
run: gem build --strict --verbose *.gemspec
- name: Publish gem to rubygems.org
run: gem push *.gem
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Build gem
run: gem build *.gemspec
run: gem build --strict --verbose *.gemspec
- name: Run tests
run: bundle exec rake spec
tests:
Expand Down
6 changes: 3 additions & 3 deletions voxpupuli-test.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.7.0'

s.add_runtime_dependency 'rake'
s.add_runtime_dependency 'rake', '~> 13.0', '>= 13.0.6'

# Testing
s.add_runtime_dependency 'facterdb', '>= 1.4.0', '< 2'
s.add_runtime_dependency 'metadata-json-lint', '>= 3.0.1'
s.add_runtime_dependency 'metadata-json-lint', '~> 3.0', '>= 3.0.3'
s.add_runtime_dependency 'parallel_tests', '~> 4.2'
# 4.0.0 provides rubocop annotations in GitHub Actions
# 5.0.0 supports the validation of REFERENCE.md
Expand All @@ -40,5 +40,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'voxpupuli-puppet-lint-plugins', '~> 5.0'

# development
s.add_development_dependency 'rspec'
s.add_development_dependency 'rspec', '~> 3.12'
end

0 comments on commit f317fba

Please sign in to comment.