diff --git a/verify_templates.rb b/verify_templates.rb index 63e6527f82ee2a3b12083a8ecb63f2445400ece5..0f93cc140a742c4666474350c900ff82fbce25a4 100644 --- a/verify_templates.rb +++ b/verify_templates.rb @@ -1,7 +1,7 @@ require 'net/http' require 'json' -uri = URI.parse 'https://gitlab.com/api/v3/ci/lint' +uri = URI.parse 'https://gitlab.com/api/v4/ci/lint' Dir.glob("#{File.dirname(__FILE__)}/**/*.yml").each do |file| response = Net::HTTP.post_form(uri, content: File.read(file))