mirror of
https://github.com/cmur2/openvpn-status-web.git
synced 2025-04-01 11:34:11 +02:00
gems: ignore irrelevant vulns in dev dependency solargraph
This commit is contained in:
parent
862ecd4fee
commit
f01d4c26da
11
Rakefile
11
Rakefile
@ -3,11 +3,9 @@
|
||||
require 'bundler/gem_tasks'
|
||||
require 'rspec/core/rake_task'
|
||||
require 'rubocop/rake_task'
|
||||
require 'bundler/audit/task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
RuboCop::RakeTask.new
|
||||
Bundler::Audit::Task.new
|
||||
|
||||
desc 'Run experimental solargraph type checker'
|
||||
task :solargraph do
|
||||
@ -21,7 +19,14 @@ namespace :solargraph do
|
||||
end
|
||||
end
|
||||
|
||||
task default: [:rubocop, :spec, 'bundle:audit', :solargraph]
|
||||
namespace :bundle do
|
||||
desc 'Check for vulnerabilities with bundler-audit'
|
||||
task :audit do
|
||||
sh 'bundler-audit check --ignore GHSA-vvfq-8hwr-qm4m'
|
||||
end
|
||||
end
|
||||
|
||||
task default: [:rubocop, :spec, 'bundle:audit']
|
||||
|
||||
desc 'Run all tasks desired for CI'
|
||||
task ci: ['solargraph:init', :default]
|
||||
|
Loading…
x
Reference in New Issue
Block a user