From 768aedec611799cfad372cade0db907a1f0ee09c Mon Sep 17 00:00:00 2001
From: Zeger-Jan van de Weg <zegerjan@gitlab.com>
Date: Tue, 4 Apr 2017 11:18:00 +0000
Subject: [PATCH] Use APIv4 for verification

---
 verify_templates.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/verify_templates.rb b/verify_templates.rb
index 63e6527..0f93cc1 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))
-- 
GitLab